Migrating websites between Cloud and cPanel Hosting

Categories Web Hosting Tags migrationsite transferchange hostsweb hosting

Customers using our Cloud Hosting plans may choose to switch over to our cPanel Hosting infrastructure, or visa versa. This article will outline all associated steps in migrating a live website. It is important to plan a migration, because some downtime is imminent while the product is reconfigured on the new platform. The process of migration includes the following steps:

  1. Backing up of your website files and databases
  2. Backing up of your email messages
  3. Submission of upgrade/downgrade online

Once your new cPanel hosting package has been set up, you will need to complete the following steps:

  1. Creation of Email accounts
  2. Upload of files to the cPanel server
  3. Importing of your Database file (if applicable)

Customers can achieve the above steps by either following the detailed instructions below, or by commissioning this update to be performed by our team for a fee. Please contact our Sales department if you'd like us to process this migration on your behalf.

Migrating your Cloud Hosting to cPanel Steps:

Step 1 - Backup your website files and databases

Download your website files using FTP. See Using FTP article on how to access your website via FTP. To download a copy of your database, you can export it using phpMyAdmin. See Backing up your MySQL database article on how to export your database.

Step 2 - Backup your email messages

cPanel services include Email hosting, and therefore when you upgrade/downgrade to cPanel - you will wipe your current cloud email service. To backup your email messages, ensure that your email software has downloaded all messages via POP. To check how your email account is configured on your email software, please access the Account settings area of the program. Ensure the type of your old account in your email software is POP.

IMPORTANT: If your current account is set as IMAP, you will lose access to this mail once you upgrade/downgrade to cPanel. For details on downloading email via POP, see POP Email Settings article.

Step 3 - Submit Upgrade/Downgrade request online

Upgrades/Downgrades are submitted via your Account in TheConsole. For details on submitting such a request, see How to Upgrade your Hosting Plan. Once you receive a confirmation email - your website and email have just gone offline. It's time to upload your website files.

Step 4 - Create Email Accounts or Reconfigure your MX records

If you hold email services with Netregistry under the cloud hosting product, the upgrade will have wiped the setup. See the article on Managing Email Accounts in cPanel to recreate them. If you are hosting emails with any other provider, you need to reconfigure the MX records. See the article on Creating MX Records in cPanelfor details on recreating the MX records on the cPanel Zone.

Step 5 - Upload your files to cPanel

Use the same FTP program to upload the files to the new location. The settings for your FTP connection have changed:

FTP Hostname: cPanel server hostname

To find out your cPanel server FTP Hostname:

  1. Login to the Console
  2. Manage your domain
  3. Click [CPANEL]
  4. Hostname is located against Current CPanel Machine
  5. Username and password are supplied underneath

FTP upload directory

Specify the upload directory as public_html

Step 6 - Import your Database file

If you had a MySQL Database associated with your cloud service, you can import the data via phpMyAdmin.

Import the data using phpMyAdmin

To do so, first login to cPanel and create a Database:

  1. Login to the Console
  2. Manage your domain
  3. Click [CPANEL]
  4. Scroll down to the cPanel interface heading Databases
  5. Click [MySQL Databases]
  6. Click to Create a new Database (note the new name)
  7. Click to Create a new Database User (note the username and password)
  8. Assign the new user to the new Database using Add User to Database menu

Then, import the database contents:

  1. Click [Home] on the cPanel screen.
  2. Scroll down to the cPanel interface heading Databases.
  3. Click [phpMyAdmin] (opens a new window).
  4. Click the database name on the left hand side.
  5. Click [Import] in the top navigation bar.
  6. Click [Choose File] from your computer which you created earlier when exporting.

Update your website code to connect to the new Database

Your website application connecting to this database now requires a modification of settings to connect to the new server. Your settings have changed:

Database hostname: localhost 

Database name, username and password are as noted earlier.

Migrating your cPanel Hosting to Cloud Hosting:

Customers using our cPanel Hosting plans may choose to switch over to our cloud hosting plans. This article will outline all associated steps in migrating a live website. It is important to plan such a migration, because some downtime is imminent while the product is reconfigured on the new platform.
The process of migration includes the following:
  • Backing up of your website files and databases
  • Backing up of your email message
  • Submission of upgrade/downgrade online
Once your new Cloud Hosting package has been setup, you will need to complete the following steps;
  1. Creation of Email accounts on 
  2. Upload of files to the Cloud server
  3. Importing of your Database file (if applicable)
Customers can achieve the above steps by either following the detailed instructions below, or by commissioning this update to be performed by our team at a fee. Please contact our Sales department if you'd like us to process this migration on your behalf.
cPanel Hosting Steps
  1. Download your files from cPanel to your computer
  2. Use the same FTP program to upload the files to the new location. The settings for your FTP connection have changed:
  3. FTP Hostname: cPanel server hostname
To find out your cPanel server FTP Hostname:
  1. Login to the Console
  2. Manage your domain
  3. Click [CPANEL]
  4. Hostname is located against Current CPanel Machine
  5. Username and password are supplied underneath
FTP Website directory
Specify the directory as public_html

Step 3 - Export your Database file

If you had a MySQL Database associated with your cPanel service, you can export the data via phpMyAdmin.
Export the data using phpMyAdmin
Export the database contents:
  1. Click [Home] on the cPanel screen.
  2. Scroll down to the cPanel interface heading Databases.
  3. Click [phpMyAdmin] (opens a new window).
  4. Click the database name on the left hand side.
  5. Click [Export] in the top navigation bar.

Step 2 - Backup your email messages

cPanel services include Email hosting, and therefore when you upgrade/downgrade to Cloud - you will wipe your current cPanel email service. To backup your email messages, ensure that your email software has downloaded all messages via POP. To check how your email account is configured on your email software, please access the Account settings area of the program. Ensure the type of your old account in your email software is POP.
IMPORTANT: If your current account is set as IMAP, you will lose access to this mail once you upgrade/downgrade to cPanel. For details on downloading email via POP, see POP Email Settings article.
Submit Upgrade/Downgrade request online
Upgrades/Downgrades are submitted via your Account in TheConsole. For details on submitting such a request, see How to Upgrade your Hosting Plan. Once you receive a confirmation email, your website and email have just gone offline. It's time to upload your website files.
Cloud Hosting Steps;

Step 1 - Creating Email accounts

Create a Cloud Hosting email account
  • Login to the Console
  • Manage the domain you want to make changes to
  • Click Email
  • Select IMAP/Pop from the drop down to create a new account
  • Fill in the fields provided
  • Click [Create]

Step 2 - Upload your website files

Upload your website files using FTP. See Using FTP article on how to access your website via FTP. 

Step 3 - Importing your Database 

To import a copy of your database, you can import it using phpMyAdmin. See Backing up your MySQL database article on how to import/export your database.
Rate this article