Switching hosting providers should not mean losing sales, emails or hours fixing errors. When you migrate a cPanel website, the goal is to move files, databases, email accounts and settings to the new server with the least possible impact on the people who use your project.
The migration can be simple for a small business website or require more care for an online store, an agency with multiple accounts, a system with high traffic or an application connected to external services. The right procedure depends on the type of access available on the current server and on the structure that will be received in the new environment.
Before you migrate a cPanel website, check the setup
The first step is not to create a backup. It is to confirm what exists in your current plan and what will be needed on the new server. A complete backup of a cPanel account usually includes the site files, MySQL databases, email accounts, filters, forwarders, DNS settings and other account data.
This does not mean that every item should be restored without review. If the new service uses a different PHP version, different resource limits or its own DNS structure, some settings will need adjustment. WordPress sites, for example, tend to migrate well from a full backup, but caching plugins, scheduled tasks and payment integrations deserve separate validation.
Also check the space used by the account. The destination plan or VPS should have enough room to receive the backup and operate after the transfer. Migrating an account that uses 20 GB to an environment with only 20 GB available can fail during the process or leave the server without space for updates, logs and new emails.
Before you start, gather this information: access to the current cPanel, details for the new cPanel or WHM, the PHP version used by the site, credentials for external services and a list of the critical mailboxes. If the domain is registered with another provider, also confirm where the DNS is managed.
Choose the right migration method
There are three common ways to transfer a cPanel account. The choice should consider the size of the project, the level of access and the need to preserve all the resources in the account.
Full backup through cPanel itself
For a single hosting account, a full backup is a direct option. In the old cPanel, open the Backup area, generate a full backup and save the file to a local or remote destination. Then send that file to the new provider or to the administrator responsible for the restoration.
This method is suitable when you do not have WHM access on the source server. It preserves much of the account structure, but the complete restoration usually has to be done by support or by someone with administrative privileges on the new server.
Do not change the contents of the compressed file. Renaming, extracting and compressing it again can cause permission failures or corrupt the structure expected by the restore system.
Account transfer via WHM
When you have root access or reseller access with the proper permissions in WHM, the account transfer tool is the most efficient alternative. It connects the destination server to the source server and copies the account with its files, databases, emails and associated data.
This process reduces manual work and is especially useful for agencies, resellers and companies that need to move several accounts. Even so, the tool depends on a stable connection between the servers, correct permissions and enough disk space on the destination.
On a VPS with cPanel and WHM, you gain more control to plan the transfer, review resources per account and adjust PHP versions, limits and security settings before the DNS switch.
Manual migration of files and database
Manual migration is suitable for specific situations, such as a site without hosted emails, a custom application or a move between different control panels. In this case, the files are copied through File Manager, FTP or SFTP, while the database is exported through phpMyAdmin and imported on the destination.
This is a workable alternative, but it requires extra attention. You will need to create the database and user, grant privileges and update the credentials in the application's configuration file. In WordPress, this information is usually found in the `wp-config.php` file.
For a simple site, manual migration may be enough. For an account with multiple domains, emails and custom rules, a full backup or a transfer through WHM is usually safer.
Prepare the DNS to reduce downtime
DNS determines when visitors will start reaching the new server. Changing the nameservers or the A record before you have validated the site on the destination is one of the most common causes of downtime after a migration.
Ideally, lower the TTL of the DNS zones a few hours or a day before the change, when possible. With a shorter TTL, new information tends to propagate faster. There is no completely fixed timeframe: some connections update within minutes, while others may keep old data cached for longer.
Before you point the domain, test the site on the new server. Depending on the contracted structure, this can be done through a temporary URL, a preview in the control panel or a local adjustment to the hosts file. Testing through the hosts file is useful because it lets you open the domain on the new IP only on your own computer, without changing the experience of visitors.
During this validation, browse the main pages, submit forms, log in to the administrative area and check images, CSS and JavaScript. If it is an online store, simulate a purchase, shipping calculation, order creation and transactional email delivery. The site opening is not enough: the functions that generate revenue need to be working.
Emails need special attention
A poorly planned email migration can create lost messages or empty mailboxes in the new environment. If the email accounts are part of the full backup, they can be restored along with the account. Even so, you need to verify that each address, password, forwarder, filter and auto-reply has been preserved.
After the DNS change, messages may temporarily arrive at the old server due to propagation. For this reason, keep the source hosting active for a few days. Shutting down the old plan right after pointing the domain is an unnecessary risk.
If your company uses Google Workspace, Microsoft 365 or another external service, migrating the website does not transfer messages from those platforms. In that case, only validate the related DNS records, such as MX, SPF, DKIM and DMARC. An incorrect record can prevent email from being received even when the website is working normally.
Post-migration validation checklist
After you point the DNS, monitor the transition instead of considering the work finished. Watch site access, error logs and resource usage during the first hours. In applications with constant traffic, this period reveals incompatibilities that do not show up in a quick test.
Check whether the SSL certificate was issued or installed correctly on the new server. A valid certificate prevents browser warnings and protects forms, logins and payments. Also confirm that the redirect to HTTPS is still active and that there is no mixed content on important pages.
It is also worth testing cron jobs, API integrations, automatic backups, contact forms, SMTP and import routines. These features often depend on internal paths, allowed IPs or specific PHP versions.
If you see 500 errors, blank pages or failed connections to the database, do not keep restoring backups without investigating the cause. First, check the logs and confirm file permissions, database details, the PHP version and the extensions required by the application. An objective analysis prevents duplicated data or overwriting an installation that is already correct.
When to get technical support for the migration
Projects with multiple cPanel accounts, corporate email, online stores or large databases require planning. It is also worth requesting help when access to the old server is limited, when the control panel is changing or when the operation cannot tolerate interruptions.
At HostMF, environments with cPanel and WHM offer features to centralize accounts, manage domains and organize a migration with more control. With NVMe SSD storage, unlimited traffic, Anti-DDoS protection and 24-hour technical support, you can prepare the new structure before moving the DNS to the destination server.
The best migration is one that visitors barely notice. Set aside time for testing, keep the old environment active during propagation and treat every critical function as part of the delivery. This simple care protects the reputation of your project and keeps a hosting change from turning into an emergency.