Want to Migrate Your Website from Cloud to cPanel Hosting?

December 31, 2015 / Cloud Server Hosting

Cloud and cPanel web 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 on 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 –

  1. Backing up your website files and databases
    Firstly, using FTP download your website files. Then export a copy of the database using php/MyAdmin.
  2. Backing up your email messages
    Since cPanel hosting includes email hosting when you upgrade/downgrade to cPanel, the current cloud email service will vanish. 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.

  3. Submitting upgrade/downgrade request online
    You can submit Upgrades/Downgrades through your account in the console. You will receive a confirmation email, after which your website and email will go offline. Now, it’s time to upload website files.
  4. Reconfiguring your MX records or creating email accounts
    You will need to configure the MX records from your hosting provider.
  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 connection changed –
    FTP Hostname: cPanel Server Hostname

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

    • Log in to the Console.
    • Manage your domain.
    • Click CPANEL.
    • A hostname is located against the Current cPanel Machine.
    • The username and password are provided underneath.

    FTP upload directory – Note the upload directory as public_html.

  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:

    • Log in 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 the 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 Database

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

    Database hostname: local host

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