Automated Linux VPS Backup: Complete 3-2-1 Strategy with rsync, Rclone & S3 Every server administrator…
How to Migrate cPanel Accounts Between Servers Using WHM Transfer Tool (Zero-Downtime Guide)

How to Migrate cPanel Accounts Between Servers Using WHM Transfer Tool (Zero-Downtime Guide)
Moving live websites, active e-commerce stores, and busy business email accounts from one server to another is one of the highest-stakes tasks a systems administrator can perform. A single misconfigured PHP handler, missed MySQL privilege, unassigned SSL certificate, or botched DNS cutover can result in lost customer orders, bounced business emails, and hours of stressful emergency troubleshooting.
Fortunately, if both your old and new servers run cPanel & WHM, you do not have to manually compress home directories, export SQL dumps, or recreate email forwarders one by one. Executing a WHM Transfer Tool cPanel migration automates the packaging, encrypted SSH streaming, and restoration of entire hosting accounts—and when paired with cPanel’s Live Transfer proxy feature, it eliminates visitor downtime during DNS propagation.
In this comprehensive step-by-step engineering guide, we walk through every phase of a production WHM Transfer Tool cPanel migration—from pre-migration DNS TTL lowering and EasyApache environment matching to SSH key authorization, reseller ACL transfers, Live Transfer proxy routing, and post-migration verification.

How WHM Transfer Tool & Live Transfer Prevent Downtime
In traditional server migrations, an unavoidable “split-brain” window occurs after you update your domain’s DNS A records. Because internet service providers and recursive DNS resolvers cache records according to their Time-To-Live (TTL) values, half of your visitors reach the new server while the other half continue posting orders, comments, and emails to the old server for hours.
A modern WHM Transfer Tool cPanel migration eliminates that split-brain gap through two tightly integrated mechanisms engineered directly into WHM:
- Direct Streamed Packaging (
pkgacct&restorepkg): Instead of compressing an entire 50GB account onto the old server’s disk before copying it over, WHM Transfer Tool streams compressed account archives directly over an encrypted SSH tunnel into the destination server’s restoration pipeline. This avoids double disk usage on the source machine and cuts total transfer duration dramatically. - Live Transfer Proxy Routing: When you enable the Live Transfer option inside WHM Transfer Tool, cPanel automatically configures Apache/Nginx reverse proxying and Exim mail routing on the old server immediately after each account finishes restoring. Any visitor or external mail server still connecting to the old IP address is transparently forwarded to the new server in real time until global DNS propagation completes.
Furthermore, Live Transfer dynamically modifies the incoming mail configuration on the source server. When an email reaches the old server, Exim immediately recognizes that the account has moved and routes the message over an authenticated SMTP connection to the destination server, ensuring that no incoming business messages are duplicated or lost across servers.
Pre-Migration Preparation Checklist (24 Hours Before Cutover)
Successful server migrations are won before you ever click the transfer button. Complete these six preparation checks at least 24 hours before initiating your WHM Transfer Tool cPanel migration so there are zero surprises mid-transfer:
| Preparation Task | Why It Matters | Where to Configure |
|---|---|---|
| 1. Lower DNS TTL to 300s | Accelerates global DNS cutover from hours down to 5 minutes | WHM DNS Zone Manager or external DNS (Cloudflare) |
| 2. Match EasyApache 4 Profiles | Prevents PHP version mismatches and missing extensions on the new server | WHM → Software → EasyApache 4 |
| 3. Match Database Engines | Ensures MySQL/MariaDB version compatibility for clean SQL imports | WHM → SQL Services → MySQL/MariaDB Upgrade |
| 4. Whitelist Server IPs | Stops CSF or cPHulk from blocking high-speed SSH transfer streams | ConfigServer Security & Firewall (CSF) on both hosts |
| 5. Verify Free Disk Space | Destination server needs at least 1.5x the total used storage of source accounts | Terminal (df -h) or WHM Server Information |
| 6. Audit Hard-Coded IPs | Finds legacy config files pointing directly to the old server IPv4 address | SSH grep scan across /home/*/public_html |
Step 1: Lower DNS TTL Values 24 Hours Early
Most domain zones default to a DNS TTL of 14400 seconds (4 hours) or 86400 seconds (24 hours). Twenty-four hours before your scheduled WHM Transfer Tool cPanel migration, lower the TTL on all A, AAAA, and MX records to 300 seconds (5 minutes). Doing this a full day in advance ensures that existing 24-hour caches expire naturally before your migration window opens.
If your domains use the local WHM DNS server, you can bulk-update TTL values across every hosted zone via SSH on the source server:
# Bulk-lower DNS TTLs on the source cPanel server before migration
sudo whmapi1 mass_edit_dns_zone
Alternatively, edit individual zones inside WHM → DNS Functions → DNS Zone Manager, or lower TTLs inside Cloudflare, Route53, or your domain registrar if you manage DNS externally. This 5-minute configuration window means that when you finally switch IP addresses, the transition occurs globally within minutes rather than across several anxious days.
Step 2: Synchronize EasyApache 4 & PHP Versions
If your source server runs PHP 8.2 with imagick, redis, intl, and exif enabled, while your brand-new destination VPS only has PHP 8.1 without those extensions, migrated WordPress, Magento, and Laravel sites will immediately throw HTTP 500 fatal errors upon cutover.
On your source WHM server, navigate to WHM → Software → EasyApache 4, click Convert to Profile under Currently Installed Packages, and download the JSON profile file. Upload that exact JSON profile into EasyApache 4 on the destination server and click Provision so both servers share an identical web stack before starting your WHM Transfer Tool cPanel migration.
Also compare your PHP configuration limits inside WHM → Software → MultiPHP INI Editor on both servers. Matching values for memory_limit, upload_max_filesize, post_max_size, and max_execution_time prevents sudden form upload failures or WooCommerce checkout timeouts on the new machine.
Pay close attention to customized PHP handlers as well. If the old server utilizes lsapi or php-fpm, ensure the corresponding handler packages are installed on the new server. Running disparate handlers can alter environment variables and cause 503 Service Unavailable errors on high-concurrency sites.
If you are provisioning a brand-new server from scratch and haven’t finalized your base operating system yet, check our comparison on choosing the best Linux distro for VPS hosting—AlmaLinux 9 is the gold standard for cPanel & WHM stability and 10-year support.
Step 3: Whitelist Both Server IP Addresses in Firewalls
During a WHM Transfer Tool cPanel migration, the destination server opens multiple concurrent SSH connections to the source server to package and stream accounts at maximum speed. Intrusion prevention suites like ConfigServer Security & Firewall (CSF) or cPHulk Brute Force Protection can mistake those rapid parallel connections for an attack and block the transfer mid-stream.
Log into both servers via SSH and permanently whitelist the opposite server’s public IP address before starting:
# On the SOURCE server: allow the DESTINATION server IP
sudo csf -a DESTINATION_SERVER_IP "New WHM Server Migration"
# On the DESTINATION server: allow the SOURCE server IP
sudo csf -a SOURCE_SERVER_IP "Old WHM Server Migration"
Additionally, open WHM → Security Center → cPHulk Brute Force Protection on both servers and add each server’s IP address to the Whitelist Management tab. If you are hardening a newly deployed server prior to migration, review our beginner’s guide to securing a Linux VPS to ensure SSH and firewall rules are properly configured without blocking legitimate administrative traffic.
Step 4: Configure Root SSH Access Between WHM Servers
The WHM Transfer Tool runs exclusively from the destination (new) server and pulls accounts from the source (old) server over SSH. To establish an authenticated connection, you need the source server’s public IPv4 address, its SSH port (default 22 unless customized), and either root password authentication or an authorized root SSH private key.
Using an SSH key pair is the cleanest, most secure authentication method for a WHM Transfer Tool cPanel migration—especially when root password logins are disabled on hardened production servers:
- On the destination WHM server, navigate to WHM → Security Center → Manage root’s SSH Keys and click Generate a New Key. Choose Ed25519 or 4096-bit RSA and leave the passphrase blank if you plan to queue automated background transfers.
- Copy the newly generated Public Key string to your clipboard.
- Log into the source WHM server, open WHM → Security Center → Manage root’s SSH Keys, click Import Key, paste the public key, and click Authorize.
Verify from the destination server’s terminal that you can initiate a clean SSH handshake to the source server without interactive prompts before launching the Transfer Tool.
Step 5: Run the WHM Transfer Tool (Step-by-Step)
With prerequisites complete, log into WHM on your new destination server as root and navigate to WHM → Transfers → Transfer Tool. Refer to the official cPanel WHM Transfer Tool documentation if you need reference details on specialized enterprise CLI flags.

1. Enter Remote Server Connection Details
- Remote Server Address: Enter the primary public IPv4 address of your old source server.
- Remote SSH Port: Enter the SSH port configured on the source server (e.g.,
22or your custom SSH port). - Authentication Method: Select SSH Public Key (choosing the authorized key from Step 4) or Root Password.
- Restricted Restore: Leave unchecked when migrating from a trusted cPanel & WHM server that you own and manage. Only enable Restricted Restore if importing untrusted backups from an unverified third-party host.
Click Scan Remote Server. WHM establishes an SSH session, inventories all hosting packages, reseller privileges, and cPanel user accounts on the source server, and populates an interactive selection table.
2. Select Packages, Resellers, Accounts, and Live Transfer Options
Once the remote scan completes, review each section carefully before starting your WHM Transfer Tool cPanel migration:
- Packages Tab: Select all hosting packages you want recreated on the destination server so disk quotas, monthly bandwidth caps, inode limits, and Feature Manager lists transfer intact.
- Accounts Tab: Select the individual cPanel accounts—or click Select All for a complete server-wide migration. You can also use the search filter to batch-migrate smaller accounts first before tackling massive multi-gigabyte accounts.
- Dedicated IP Addresses: If any migrated account previously relied on a dedicated IPv4 address for legacy TLS or isolated email reputation, assign an available dedicated IP from your new server’s IP pool; otherwise, leave accounts assigned to your new server’s primary shared IP.
- Enable Live Transfer (Crucial for Zero Downtime): Check the Live Transfer checkbox. As explained in the cPanel Live Transfer guide, enabling this feature automatically configures transparent HTTP/HTTPS reverse proxying and Exim mail forwarding from the old server to the new server the moment each account finishes restoring. It also suspends redundant local web and mail services on the old server so visitors cannot accidentally write new orders or emails to stale databases.
- Transfer Threads & Restore Threads: On a modern multi-core NVMe VPS (4 or more vCPUs), setting 2 to 3 concurrent transfer and restore threads substantially accelerates multi-account migrations without saturating disk I/O.
Click Copy to launch your WHM Transfer Tool cPanel migration.
3. Monitor the Live Transfer Session Log
WHM opens a real-time progress console displaying two parallel pipelines: Transfer (packaging and streaming account data from the source server) and Restore (extracting home directories, importing MySQL/MariaDB databases, recreating email mailboxes, and triggering AutoSSL certificates on the destination server).
Keep the browser tab open to watch real-time status badges turn green. Even if your local internet connection drops mid-transfer, the background migration continues uninterrupted on the destination server and can be inspected anytime under WHM → Transfers → Review Transfers and Restores.
Step 6: Verify Migrated Sites & Fix Hard-Coded IP References
Even with Live Transfer active, it is good engineering discipline to verify that your migrated websites render cleanly directly from the new server’s IP address before updating global DNS records.
On your local workstation, temporarily override DNS resolution for a migrated domain by adding an entry to your local hosts file (/etc/hosts on Linux and macOS, or C:\Windows\System32\drivers\etc\hosts on Windows):
# Temporarily point your browser to the NEW destination server IP for testing
203.0.113.88 example.com www.example.com
Open a fresh incognito browser window and verify every critical user journey:
- Frontend pages, images, uploaded media, and stylesheets load cleanly without HTTP 500 or 403 permission errors.
- WordPress admin dashboards, WooCommerce checkout flows, and dynamic search queries execute properly.
- Webmail (Roundcube) opens existing inbox folders and sends test messages cleanly.
- Custom cron jobs and background queue workers appear intact inside cPanel.
If an older web application fails to connect to its database after migration, inspect its configuration file (such as wp-config.php or .env). Standard applications use localhost as the database host and work automatically, whereas legacy scripts hard-coded to the old server’s public IP address must be updated to localhost or the new IPv4 address. Remember to remove the temporary override line from your local hosts file once testing finishes.
Step 7: Cut Over DNS Records, Nameservers & Reverse DNS (PTR)
Once your migrated accounts pass functional verification, execute the network cutover cleanly across four checkpoints:
- Update Private Nameserver Glue Records: If you host DNS locally on your WHM server using custom vanity nameservers (such as
ns1.yourdomain.comandns2.yourdomain.com), log into your domain registrar and update the child nameserver glue IP addresses to point to your new WHM server’s IP addresses. - Update External DNS A, AAAA, and MX Records: If your domains use Cloudflare, Route53, or an external DNS provider, update the A and AAAA records (along with any custom IP mechanisms inside SPF records) to your new server’s IP addresses. Because you lowered TTLs to 300 seconds in Step 1, global traffic transitions within five minutes.
- Configure Reverse DNS (rDNS / PTR) & Email Deliverability: Before sending transactional or business emails from the new server, set the PTR record for your new server’s IPv4 address (inside your VPS provider’s network control panel) to match your WHM server’s FQDN hostname (for example,
server1.yourdomain.com). Next, open WHM → Email → Email Deliverability and click Repair on every migrated domain so WHM updates SPF and DKIM records with your new server IP. - Trigger AutoSSL on the New Server: Navigate to WHM → SSL/TLS → Manage AutoSSL and click Run AutoSSL For All Users so Let’s Encrypt or Sectigo issues valid TLS certificates directly on your new IP address.

Detailed Post-Migration Infrastructure Verification
Once the DNS cutover is initiated, perform an infrastructure verification audit. Do not assume the restore worked simply because the WHM log reported success. Take five minutes to run these technical verification commands via SSH on the destination server:
1. Check File Ownership & User Permissions
Ensure migrated home directories belong to their respective cPanel usernames rather than root:
# Check user home folder ownership across all accounts
ls -la /home | grep -v root
2. Verify User Disk Quotas
Occasionally, user filesystem quotas become unaligned after streaming. Rebuild and verify quotas to ensure users aren’t locked out of uploads:
# Reinitialize and fix cPanel account quotas
sudo /scripts/fixquotas
3. Validate Database Connections Locally
Check that MariaDB or MySQL processes are running smoothly and that database sizes match the source server:
# Check size of all restored databases on destination
sudo mysql -e "SELECT table_schema 'DB Name', ROUND(SUM(data_length + index_length) / 1024 / 1024, 2) 'Size (MB)' FROM information_schema.tables GROUP BY table_schema;"
Troubleshooting Common WHM Transfer Tool Errors
Even well-planned migrations occasionally trigger warnings in the WHM Transfer Tool log. Here is how to resolve the four most common edge cases quickly:
1. Transfer Stalls or Times Out on Massive 50GB+ Accounts
If an account holds tens of gigabytes of historical email or old backup archives, long-running SSH streams can occasionally drop due to intermediate network timeouts. Exclude old backup tarballs from the user’s home directory before migrating, or package and restore the massive account manually via SSH inside a persistent tmux or screen session using cPanel’s native command-line utilities (see our essential Linux commands for VPS owners guide for terminal session tips):
# On the SOURCE server: package a massive account while skipping /home/user/backups
sudo /scripts/pkgacct --skipbackup username /home/cpmove-username.tar.gz
# Stream directly to the DESTINATION server via rsync
rsync -avz -e ssh /home/cpmove-username.tar.gz root@NEW_SERVER_IP:/home/
# On the DESTINATION server: restore the account
sudo /scripts/restorepkg /home/cpmove-username.tar.gz
2. MySQL or MariaDB Version Mismatch Warnings
If your source server runs MariaDB 10.6 while your destination server runs MySQL 8.0 (or vice versa), WHM Transfer Tool displays a database engine mismatch warning. Whenever possible, provision the exact same database engine and major version on your destination server before migrating to avoid SQL syntax, authentication plugin, or character collation incompatibilities.
3. AutoSSL Fails Domain Control Validation (DCV) After Cutover
If AutoSSL fails immediately after updating DNS, check whether an old .htaccess rewrite rule is blocking /.well-known/acme-challenge/ requests or whether Cloudflare’s orange-cloud proxy is enforcing an incompatible SSL mode. Enable AutoSSL DNS DCV or set Cloudflare’s SSL/TLS encryption mode to Full (Strict) after initial certificate issuance.
4. Decommissioning the Old Source Server Safely
Keep your old source server online—with Live Transfer proxying active—for at least 48 to 72 hours after updating DNS so any stubborn ISP DNS caches finish expiring naturally. You can verify that zero traffic remains on the old machine by checking Apache access logs and Exim mail logs. Before canceling the old VPS, take one final off-site archive following our automated Linux VPS backup guide as a permanent safety net.
Frequently Asked Questions (FAQ)
Does WHM Transfer Tool migrate emails, passwords, and databases automatically?
Yes. A full WHM Transfer Tool cPanel migration transfers every component of a cPanel account—including website files, MySQL or MariaDB databases, database user privileges, email mailboxes, IMAP folders, email forwarders, autoresponders, cron jobs, DNS zones, and cPanel account passwords.
How long does a WHM Transfer Tool cPanel migration take?
Transfer speed depends on total account size, storage I/O speed (NVMe SSD vs. SATA), and network bandwidth between the two data centers. Typically, a 5GB cPanel account packages, streams, and restores in 3 to 7 minutes over a 1Gbps network link, whereas a 100GB multi-account server generally takes 45 to 90 minutes.
Can I migrate from cPanel on CentOS 7 to AlmaLinux 9 using WHM Transfer Tool?
Yes. In fact, running a WHM Transfer Tool cPanel migration from an end-of-life CentOS 7 server onto a clean AlmaLinux 8 or AlmaLinux 9 VPS is cPanel’s officially recommended upgrade path, because in-place major operating system upgrades on production hosting servers carry high risk.
What happens to the accounts on my old server after Live Transfer finishes?
When Live Transfer is enabled, WHM automatically suspends local web and mail handling on the old server and proxies incoming requests to the new server so visitors cannot accidentally write new orders or emails to stale databases. Your original files remain untouched on the old server until you manually terminate the accounts or decommission the old machine.
Can I limit the transfer bandwidth during peak production hours?
Yes. Inside WHM Transfer Tool, under the advanced configuration parameters, you can specify maximum transfer speeds in megabytes per second to avoid saturating network uplinks or triggering latency alerts on active client sites.
Conclusion: Stress-Free Server Upgrades with WHM Transfer Tool
Upgrading to faster NVMe hardware or migrating to a higher-performance hosting provider no longer requires late-night maintenance windows or panicked customer support tickets. By lowering DNS TTLs ahead of time, matching EasyApache 4 profiles, authorizing root SSH keys, and enabling Live Transfer during your WHM Transfer Tool cPanel migration, you can move dozens of live websites and mail servers cleanly with zero perceived downtime.
