How to migrate a cPanel website?

← All Topics
Table of Contents
Changing hosting providers for your website isn’t impossible. It can be done without having to build your website from scratch all over again. If you want to migrate your site hosted by another company to us, you can use cPanel’s backup features. This will move your website, its databases, as well as the email accounts you have setup on cPanel. This article is going to break down the actionable steps to Website Migration. At the end, there is a bonus section on migrating WordPress sites.

A quick note about email— if you follow these instructions, your email will continue working as it did before. However, if you change your domain’s nameservers to point to our nameservers, it might stop your email from working. Be sure to make the necessary adjustments for your email to continue working.

Overview

Though this process has a number of steps, you can complete them in about an hour. Here’s what to do:
  1. Download all of your backups from your current host.
  2. Restore those backups to your user account.
  3. Preview your site on our servers.
  4. Make it live.
It’s pretty stress-free.

Step 1: Backing Up Your Site

Before you get started, we recommend purchasing and setting up your cPanel account with us if you haven’t done so as yet. After you get that completed, start backing up your website from your current host.
To Back up Your cPanel Account at Your Current Host
  1. Log in to your cPanel account.
  2. In the Files section, click Backup Wizard.
  3. Click Backup.
  4. Click Home Directory.
  5. Click MySQL Databases.
  6. Click each of your databases’ names to download a backup of it, and then click Go Back.
  7. Click Email Forwarders & Filters.
  8. Click each of your domain names to download a backup of its forwarders, click System Filter Info, and then click Go Back.
Make sure you know where all of these files are stored so you can find them for the next step.

Restoring Your Site

Now that you have all of your backups, you can restore them on your cPanel shared hosting account.

Step 2: To Restore your Backups

  1. Log in to your user account.
  2. Click Web Hosting.
  3. Next to the cPanel account you want to use, click Manage.
  4. Click cPanel Admin.
  5. In the Files section, click Backup Wizard.
  6. Click Restore.
  7. Click Home Directory.
  8. Click Choose File, select the Home Directory backup you generated at your current host, and then click Upload. Note: This can take a while depending on the size of your backup.
  9. After the restore completes, close the new window that opened, and then click Go Back.
  10. Click MySQL Databases.
  11. Click Choose File, select the MySQL backup you generated at your current host, and then click Upload.
  12. Close the new window that opened and repeat the previous step for each database you backed up. When you’re done, click Go Back.
  13. Click Email Forwarders & Filters.
  14. Click Choose File, select the forwarders or filters backups you generated at your current host, and then click Upload.
Voila! You’ve successfully moved your website from your current host to us.

Step 3: Previewing Your Site

To make sure everything works before moving your DNS, you should preview your site. To Preview Your Site
  1. In cPanel, go to the cPanel tab at the top of the page.
  2. In the Domains section, click Preview Website.
  3. Next, to the domain, you’re using, click Preview.
Some types of websites, including WordPress, will have issues with their CSS when you preview them. This is normal and, unfortunately, difficult to fix. However, when you’re site is live, everything will function normally. If you want to get a more complete preview of your website, you can do so by editing your host’s file. If everything looks fine, you can update your DNS at your domain registrar to point to your cPanel shared hosting. Just update your primary A record (@) with your hosting account’s IP.

Step 4: Updating Your DNS

To find your hosting account’s IP address, go to the cPanel tab at the top of the page. Your Websites IP Address displays on the left.
  • If your domain name is registered with us, you can update your primary A Record (@) to your cPanel IP address in the DNS Manager.
  • If your domain name is registered elsewhere, contact your registrar for help updating your DNS.
Congratulations! You now know how to migrate your website using the cPanel Backup/Restore process to move your website from another host (that uses cPanel) to our website.

Bonus: Migrating a WordPress Website to us

WordPress site migration is made easy with a plugin called All-in-One WP Migration by ServMask. This plugin can exports your WordPress website with cPanel including the database, media files, plugins and themes with no technical knowledge required. Upload your site to a different location (like your desktop) with a drag and drop into WordPress.

Step 1: Installation

  1. All-in-One WP Migration can be installed directly through your WordPress Plugins dashboard.
  2. Click “Add New” and Search for “All-in-One WP Migration”
  3. Install and Activate

Step 2: How to use All-in-One WP Migration

Once activated go to the plug-in in WordPress. Then follow these quick steps:
  1. Select Export Site ( you can leave all the fields blank to export the website as is or you can use the Advanced Options to exclude certain things from the export)
  2. Click Export To > File
  3. Click download LocalHost
  4. Save the file to your Desktop and ensure the file extension remains .wpress

Step 3: Import to New Hosted WordPress Site

Go to your new WordPress in your hosted account to complete the migration.
  1. Install the All-in-One WP Migration Plug-in.
  2. Select Import from the menu option.
  3. In the Import Site Menu click or drag and drop the file downloaded to your desktop.
  4. Allow the Import to take place (this can take a while depending on the size of your file).
  5. Click 1 to update Permalinks
  6. This will take you to re-login to your site.
  7. Login with the old website credentials.
  8. Save the new permalinks twice
  9. You’re done! Go ahead and preview your site.
Now you have the tools to migrate any website with ease.