How to Migrate a Website from any SiteCountry DirectAdmin Control Panel to SiteCountry VPS Hosting with Cloudpanel Control Panel?

TABLE OF CONTENTS:

A) Backup the website to be Migrated from the SiteCountry DirectAdmin
B) Create a new site and set up the website on SiteCountry Cloudpanel VPS
C) Test the Website using a Hosts entry

A) Backup the website to be Migrated from the SiteCountry DirectAdmin

  1. Log in to SiteCountry DirectAdmin

URL:https://copper.scnservers.net:2222
Username: postcric
Password: #$M@FcJLMMg6FIG67*(d#l$U%)

  1. Click on File Manager & Navigate to /domains/damangamesapk.com
  2. Right-click on the public_html directory under damangamesapk.com. Then click Add to Archive, enter below necessary values and Click on the Compress button

Path - Leave as it is
Name - bkup_damangamesapk_com
Type - zip

  1. Once Compressed Download the Website Backup file to Computer e.g bkup_damangamesapk_com.zip
  2. Navigate to /domains/damangamesapk.com/public_html. Open the wp-config.php file and Note down the DB_NAME e.g postcric_wp284
  3. Go back to Control Panel Home. Click on phpMyAdmin
  4. Backup the Database for the Website e.g postcric_wp284 using the Export option
  5. Go to Softaculous and Note down whether the Site URL uses www or not

B) Create a new site and set up the website on SiteCountry Cloudpanel VPS

  1. Log in to SiteCountry Cloudpanel VPS

URL: https://postcrick.cp.sitecountry.cloud
Username: adminscn
Password: ZW0m8U1Qj7E4I{o4

  1. Click on Sites >> Add Site
  2. Click on Create a WordPress Site
  3. If the website uses www, the enter Domain Name as www.damangamesapk.com. Here in this case no www. used - So, enter Domain Name as damangamesapk.com
  4. Click on the Create button
  5. Once the site is created you will prompted with the Details. In that note below details alone

Database Name: damangamesapk
Database User Name: damangamesapk
Database User Password: cH9abAvb89eejKE3cJMf

  1. Go Back to Sites >> Click on Manage corresponding to damangamesapk.com
  2. Click on the Database Tab then click on the Manage button under PHPMYADMIN
  3. Delete/Drop the Existing Tables for the Site and Import the Database e.g postcric_wp284.sql
  4. Open damangamesapk.com FileManager
  5. Navigate to Directory htdocs > damangamesapk.com and Delete all existing contents
  6. Upload bkup_damangamesapk_com.zip and Extract the contents
  7. Move the contents from the folder to htdocs > damangamesapk.com
  8. Open wp-config.php file, change the database details noted in Step 5 and Save the File

define( 'DB_NAME', 'damangamesapk' );

/** Database username */
define( 'DB_USER', 'damangamesapk' );

/** Database password */
define( 'DB_PASSWORD', 'cH9abAvb89eejKE3cJMf' );

// If the Below is available Change this too | Else Ignore this
define( 'TWO_PLUGIN_DIR_CACHE', '/home/postcrick/htdocs/damangamesapk.com/wp-content/plugins/tenweb-speed-optimizer/' );

C) Test the Website using a Hosts Entry

  1. Open the hosts file on your Windows Computer, add the below line and Save

104.234.179.42 damangamesapk.com

  1. Launch https://damangamesapk.com in Google Incognito mode and Check whether the website is working properly. Ensure both Home and Sub-pages are working fine.