Want to Migrate Your Website from Cloud to cPanel Hosting?

Migration

Cloud and cPanel hosting both are the best but there are differences in their features. So, many times you need to migrate between cloud and cPanel hosting depending upon your business application needs.

The migration process is basically divided into three steps –

  • Take the backup of your website files as well as databases.
  • Take the backup of your email messages.
  • To submit upgrades/downgrades online.

After your new cPanel hosting package has been set up, follow the below steps –

  • Creating email accounts.
  • Uploading files to the cPanel server.
  • Importing of your database file.

Migrating from Cloud Hosting to cPanel Hosting –

Step 1 – Backing up your website files and databases

Firstly, using FTP download your website files. Then export a copy of database using php/MyAdmin.

Step 2 – Backing up your email messages

Since cPanel hosting includes email hosting, when you upgrade/downgrade to cPanel, the current cloud email service will be vanished. In order to take the backup of your email messages, ensure that your email software has downloaded all the messages through POP. Access the Account settings area of the program to check how your email account is configured on your email software. Check if the type of old account in your email software is POP.

Note – If your current account is set as IMAP and once you upgrade/downgrade to cPanel then you will lose complete access to this mail.

Step 3 – Submitting upgrade/downgrade request online

You can submit Upgrades/Downgrades through your account in TheConsole. You will receive a confirmation email, after which your website and email will go offline. Now, it’s time to upload website files.

Step 4 – Reconfiguring your MX records or creating email accounts

You will need to configure the MX records from your hosting provider.

Step 5 – Uploading your files to cPanel

With the same FTP program you can upload the files to the new location. The settings for your FTP connected are changed –

FTP Hostname: cPanel Server Hostname

You can find out your cPanel server hosting name as below –

  • Login to the Console.
  • Manage your domain.
  • Click CPANEL.
  • Hostname is located against Current cPanel Machine.
  • Username and password are provided underneath.

FTP upload directory – Note the upload directory as public_html.

Step 6 – Importing your database file

If your MySQL Database is associated with your cloud service, it’s easy to import data via phpMyAdmin –

Importing data using phpMyAdmin –  

Login to cPanel and create a Database:

  • Login to the Console.
  • Manage your domain.
  • Click CPANEL.
  • Scroll down to the cPanel interface heading Databases.
  • Click MySQL Databases.
  • Click to Create a new Database (specify the new name).
  • Click to Create a new Database User (specify the username and password).
  • Assign the new user to the new Database using Add User to Database menu.

Now, you can import the database contents –

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

Updating your website code to connect to the new Databse

You need to modify settings of website application connecting to this database to connect to the new server. Your settings are changed:

Database hostname: localhost

Database name, username and password will be notified as in the earlier step.

This entry was posted in Cloud Server Hosting and tagged , . Bookmark the permalink.