How to Migrate a cPanel Server to LayerStack

2021-08-02 By Simon 265 Views linux cpanel migration
0 reviews

This article explains how to transfer a WHM/cPanel server from an alternative provider to LayerStack. You will use the cPanel's official Transfer Tool to complete the transfer, and please finish a basic WHM configuration on the new LayerStack cloud server before using the Transfer Tool.


Note

All your cPanel accounts except the WHM settings will be transferred by using the Transfer Tool. The WHM settings are required to recreate on your LayerStack cloud server separately.


Deploy Your cPanel service on LayerStack Cloud Servers

Please refer to the section to set up cPanel on a destination server that is part of the LayerStack server.


  1. Create a server with the requirement for the cPanel installation.

  2. Install cPanel on that cloud server with the reference of cPanel on LayerStack cloud.

  3. Configure the basic setting with your requirement for cPanel & WHM.


Use the cPanel Transfer Tool

Below shows the steps on how to use the cPanel Transfer Tool for cloud server migration after the completion of basic configuration.


  1. Log in to the WHM/cPanel with the IP address of the cloud server (https://server_ip:2087). You can bypass the security warning about the SSL certificates.

    1_whm_ssl_warning

  2. Input the login credentials.

    2_whm_login

  3. Type transfer in the search box of the menu. Find and select the Transfer Tool under the Transfers section.

    3_search_box_transfers

  4. Input your current host’s IP address in the Remote Server Address field.


    Enter the root credentials for your current host under the Authentication section. You will need the root password for your current host and root logins that should be allowed on that host.

    If you don’t have root credentials or if root logins are not allowed, you will need the credentials of another user with Sudo privileges on your current host. Enter that username and password and choose Sudo for the Root Escalation Method field.

    4_provide_remote_details

    5_initiate_remote_scan

  5. After the completion of scanning, a new page with Service Configurations, Packages, and Accounts tabs can be found.


    To allow the transfer, click the corresponding checkbox in each tab.

    6_list_pkgs_remote

    7_list_accounts_select_remote


    You may click the Show button to view the full list of the Service Configurations.

    8_list_services_remote

  6. After selecting all required items, click Copy.

    9_initiate_copy_accounts


    A new webpage will be found to show the progress of the account transfer.

    10_copy_progress


Verify Transferred Accounts & IP Address

Once the transfer is complete, you can find the status marked with Completed.

11_copy_finished_status


Then verify the associated accounts and IP address assignment from the panel.

12_list_after_copy


Migrating DNS Records

  1. Update your DNS records to reflect your new LayerStack’s IP address after you have completed the cPanel migration.
  1. Visitors will begin to load your cPanel accounts' services from your new LayerStack cloud server.


(Optional) Prepare Your Domain Name to Move

Make sure your domain name is ready to move. Lowering the Time to Live (TTL) option for your domain is a recommended initial step to ensure that the migration has minimal impact on your site's visitors. TTL specifies how long DNS caching servers should keep information about your domain. The default TTL is normally roughly 24 hours because DNS addresses do not frequently change server IP addresses.

When switching servers, however, reduce the TTL to ensure that any changes to your domain information take effect immediately. Otherwise, your domain may resolve to the IP address of your old server for up to 24 hours.


Update WHM Hostname

Update the hostname for the LayerStack cloud server from WHM/cPanel by using the below steps:


  1. Log in to the WHM/cPanel and type the hostname in the search box.

  2. Find and select the Change Hostname button on the left side of the panel under the Networking Setup section.

    13_hostname

  3. Enter the new hostname for the server and click the Change button.

    14_hostname_enter_new_hostname


    You can view the change log as follows.

    15_hostname_update


Transfer cPanel License

If you buy the license from cPanel directly, please update your license for using the new LayerStack cloud server’s IP address.

If you buy the license from your previous host, please buy a new cPanel license from LayerStack for the deployment of LayerStack cloud server. You can get a cPanel trial license when the migration is completed after changing the old IP address to the new LayerStack cloud server.


Related LayerStack Product


Related Tutorials

What do you think about this article?

Rate this article
LayerStack Plans

Try this guide to receive free bundled services at signup on a new free account.

Sign Up

Your Feedback Is Important

We hope you’ll give the new products and updates a try. If you have an idea for improving our products or want to vote on other user ideas so they get prioritized, please submit your feedback on our Community platform. And if you have any questions, please feel free to ask in the Community or contact our Technical Support team.