< All Topics

Migrating websites

Migrating websites from cPanel servers is as easy as generating a full backup and restoring it on the SPanel server.

You just upload the backup to the /home directory of the SPanel server and then restore it with the command below.

/scripts/restorepkg /home/backup-date-user.tar.gz /home

SPanel will automatically restore all files, emails, databases, database users & grants, cron jobs, domains, subdomains, DNS zones, SSL certificates.

Migrating websites from other control panels is done manually.

It is recommended to verify the migrated website works correctly on the new server before changing the name servers. You can do that by pointing the domain name to your new server’s IP address just for your computer by editing the /etc/hosts file if you are running Linux/Mac or C:\Windows\System32\drivers\etc\hosts for Windows OS.

*** Editing the file on Windows requires starting the editor with Administrative privileges.

It should look like this below where 178.15.228.19 is the IP address of your SPanel server.

178.15.228.19 yourdomain.com www.yourdomain.com

The last step is to change the name servers for your domain and allow 24 hours for DNS propagation.

If you require assistance in migrating your websites, please contact us.

Previous Managing Services
Table of Contents