Assuming that you have portable IP addresses, and that you have the option to migrate them, continue following the steps below to copy and migrate accounts to a new server using SSH keys. In cases wherein your cPanel server comes from a third-party web host or data center, ask them first regarding the possibility of migrating the IP addresses.
Make sure you have successfully completed all of the steps in the first part of this 2-part series first before proceeding to these next steps.
In completing Step 4, you should have already executed the command /scripts/fixetchosts in order to add your hostname server and IP address to the file named /etc/hosts. Upon successfully doing so, you can now change all of your accounts’ IP address to the new and correct one you will use.
This is a crucial step, as sometimes, migrating accounts may result in the system setting the accounts with the primary and main IP address of the new server. Thus, you need to change the IP address of each and every account to the current one you will use. To do this, just use the IP Migration Wizard interface of WHM by navigating through Home – IP Functions – IP Migration Wizard.
Just in case you have a non-DNS cluster member server you can skip this step. On the other hand, you would have to perform the following steps so that you can join your new server with the appropriate DNS cluster.
Now, you have to reinstall and reinstate all of your SSL certificates.
However, when your server meets these criteria, you can proceed to Step 8.
On the other hand, when you do not meet the two qualifications above, follow these steps so you can upload existing SSL certificates to your new server:
Last, but not the least, is to ensure you have a valid cPanel license.
Do this after you have moved and migrated all of the accounts to the new server. Just navigate to the License Verification interface so you can confirm you have a valid license.