Search
Close this search box.
Search
Close this search box.

How to move a site from one cPanel host to another

  1. Connect through FTP to your old hosting address and download all the necessary HTML files from the public_html folder.
  2. Connect through cpanel to your old hosting address and download all the necessary databases. For a wordpress you have to download one database only. To do so go to Files / Backups and click on the desired database to download it. If you already have a wordpress site, install updraft plus plugin and create the backup (it will generate a gz file which is much smaller).
  3. Transfer the email accounts and the associated mails. To do view the directions here.
  4. Connect through cpanel to your new hosting address and go to Databases / MySQL Databases. Create a new database, a new user and add the user to the database (using all the privileges).
  5. Go to Databases / PhpMyAdmin, choose your database from step 4 and import the database from step 2.
  6. If you move a wordpress site, open wp-config.php and change the database name, username and password, so that the wordpress points to the new database and user.
  7. Connect through FTP to your new hosting address and upload the HTML files from step 1 to the public_html folder. If your site does not have a domain name yet and only exists in your hosting space, use the IP of the new site.
  8. Test your new site to see that it actually works. To do so, see this tutorial.
  9. Finally, go to to the administration panel of your domain name and change the DNS name servers.
  10. Wait for 4 to 48 hours for the propagation to complete.
  11. Check that the site is working.
  12. Check that the emails are working.