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
- Log in to SiteCountry DirectAdmin
URL:https://copper.scnservers.net:2222
Username: postcric
Password: #$M@FcJLMMg6FIG67*(d#l$U%)
- Click on File Manager & Navigate to /domains/damangamesapk.com
- 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
- Once Compressed Download the Website Backup file to Computer e.g bkup_damangamesapk_com.zip
- Navigate to /domains/damangamesapk.com/public_html. Open the wp-config.php file and Note down the DB_NAME e.g postcric_wp284
- Go back to Control Panel Home. Click on phpMyAdmin
- Backup the Database for the Website e.g postcric_wp284 using the Export option
- 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
- Log in to SiteCountry Cloudpanel VPS
URL: https://postcrick.cp.sitecountry.cloud
Username: adminscn
Password: ZW0m8U1Qj7E4I{o4
- Click on Sites >> Add Site
- Click on Create a WordPress Site
- 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
- Click on the Create button
- 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
- Go Back to Sites >> Click on Manage corresponding to damangamesapk.com
- Click on the Database Tab then click on the Manage button under PHPMYADMIN
- Delete/Drop the Existing Tables for the Site and Import the Database e.g postcric_wp284.sql
- Open damangamesapk.com FileManager
- Navigate to Directory htdocs > damangamesapk.com and Delete all existing contents
- Upload bkup_damangamesapk_com.zip and Extract the contents
- Move the contents from the folder to htdocs > damangamesapk.com
- 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
- Open the hosts file on your Windows Computer, add the below line and Save
104.234.179.42 damangamesapk.com
- 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.