Verify that a cPanel account has been successfully migrated to a new server before updating your DNS records. This process ensures that website files, email accounts, and databases are intact and functional on the new server, preventing downtime during the DNS cutover.
Before you begin
You will need:
Server Administrator access to both the source and destination WHM instances.
The destination server's IP address.
The primary domain name and any associated subdomains.
Access to a web browser and a tool to check mail delivery (such as a mobile device or a third-party testing service).
Verify website files and database integrity
Before changing DNS, confirm that the website content is accessible on the new server using the server's IP address or a temporary "hosts" file entry.
Identify the destination server's IP address.
Access the website via a browser using the IP address (e.g.,
http://123.456.78.90).If the site is not loading via IP, check the local
hostsfile on your computer to map the domain to the new IP address.Verify that all pages load correctly and that images and assets are appearing.
Log into the destination cPanel account and navigate to phpMyAdmin.
Select the database associated with the website.
Check that the tables are present and that the data appears correct.
Verify email functionality
Ensure that email accounts are correctly configured on the new server before the DNS points to the new mail servers.
Log into a webmail client (such as Roundcube) on the destination server.
Send a test email from one account to another account on the same server.
Send a test email from an account on the destination server to an external email address (e.g., a Gmail or Outlook account).
Verify that the email is received successfully.
Check the Mail Delivery Reports in WHM to ensure no "bounce" messages are generated during testing.
Verify DNS records
Ensure the local DNS zone on the destination server is complete.
Log into WHM on the destination server.
Navigate to DNS Zone Manager.
Select the domain and verify that all records (A, MX, CNAME, TXT) match the records on the source server.
Confirm that the MX records point to the correct mail server (usually the local server's hostname).
Confirm the result
The migration is ready for DNS cutover when:
The website loads correctly using the destination IP address.
Emails are successfully sent and received on the destination server.
All DNS records in the destination zone are identical to the source zone.
Limitations
This procedure does not include the actual process of updating DNS records at your registrar. It is only intended to verify the readiness of the destination environment. Changes to DNS records may take time to propagate globally depending on the Time to Live (TTL) settings.
