Skip to content

Moving a cPanel account between servers with the WHM Transfer Tool

How to use WHM Transfer Tool to copy accounts from another cPanel/WHM server — adding the remote, picking accounts, and the options that decide whether mail and DNS come over clean.

The WHM Transfer Tool is the supported way to pull cPanel accounts from one server to another — it connects to the source over SSH, packages each account, copies it, and restores it on the destination, all from a single UI. It is the right tool for routine server-to-server moves where both ends run cPanel and you can afford a copy-then-cutover. The parts that decide success are getting the remote connection authenticated, choosing the right accounts and options, and understanding that the transfer copies — the source account stays live until you decommission it, and DNS still has to be cut over deliberately.

What’s happening

WHM » Transfers » Transfer Tool runs on the destination server and reaches out to the source. You give it the source’s hostname and root (or a reseller) credentials, and it authenticates over SSH. WHM then queries the remote for its accounts, packages, and feature lists; you select what to bring; and it runs a packaged transfer per account — effectively pkgacct on the source, secure copy to the destination, restorepkg on the destination — with a queue and live progress. Because it operates account-by-account through cPanel’s own packaging, it carries the home directory, databases, mail, DNS zone, SSL, cron, and account settings together, far more completely than a hand-rolled rsync.

What it does not do automatically: change where the world points. The transfer copies the DNS zone to the destination, but until the domain’s nameservers or A/MX records actually point at the new server, traffic keeps going to the source. So the normal pattern is transfer (copy) → verify on the destination → cut DNS over → decommission the source. The source account remains live and untouched throughout, which is what makes the Transfer Tool safe to run during business hours: nothing breaks until you change DNS.

How to verify

Confirm the destination can reach and authenticate to the source before queuing anything:

# From the DESTINATION, can you reach the source's SSH?
ssh root@source-host.example.net 'whoami; /usr/local/cpanel/cpanel -V'

# cPanel versions on both ends (large gaps can complicate restore)
/usr/local/cpanel/cpanel -V

Check disk headroom on the destination for what you are about to pull:

# Destination /home space vs the source accounts' size
df -h /home
ssh root@source-host.example.net 'du -sh /home/* 2>/dev/null | sort -h | tail'

Inspect the transfer queue and per-account logs while it runs and after:

# Transfer session logs live here
ls -lt /var/cpanel/logs/ | grep -i transfer | head
tail -f /var/cpanel/logs/<session>/<account>.log

After a transfer, confirm the account landed and matches:

# Account present on the destination with its quota and domains
whmapi1 accountsummary user=acmecorp
grep -w acmecorp.com /etc/localdomains /etc/userdomains

The fix / steps

  1. Run the tool on the destination, not the source. The Transfer Tool pulls toward the server you are logged into. Log in to the new server’s WHM and go to Transfers » Transfer Tool; pointing it the wrong way is a common first mistake.
  2. Add the remote server with working credentials. Enter the source hostname and authenticate — root password or, better, an SSH key. Use the “Use SSH Key” option where possible. If authentication fails, fix it at the SSH layer first (test with ssh root@source from the destination); the tool cannot transfer what it cannot log into.
  3. Let it enumerate, then select deliberately. Once connected, WHM lists the source’s accounts, packages, and feature lists. Select the accounts you want, and include the packages and feature lists they depend on if those do not already exist on the destination — otherwise the restored accounts land without their plan definition.
  4. Choose the copy options that fit the move. The tool offers options like preserving the account’s IP behavior, handling of the dedicated IP, and whether to express transfer (skip some safety steps for speed) or live-transfer. For a routine move, take the defaults; only enable express/skip options when you understand what safety you are trading for speed.
  5. Watch the queue and read failed-account logs. Transfers run in a queue with per-account status. If an account fails, open its log under /var/cpanel/logs/<session>/ — the failure is usually specific (a database too large, a disk-full destination, a name collision) and named there. Re-queue the single failed account after fixing its cause rather than re-running the whole batch.
  6. Verify on the destination before touching DNS. For each transferred account, confirm the site loads (using a hosts-file override or the destination’s temp URL), the databases restored, mail accounts exist, and the quota matches. The source is still live, so you have all the time you need to validate before cutover.
  7. Cut DNS over deliberately, then watch. Only once the destination copy is verified, repoint the domain’s nameservers or A/MX records to the new server (lower the TTL beforehand for a faster switch). Traffic and mail migrate as DNS propagates; keep both servers running until you confirm the new one is serving everything.
  8. Decommission the source after a clean window. Leave the source account intact for a propagation-plus-safety window (a few days) so any stragglers still hitting the old IP, and any last mail, are caught. Only then suspend and remove the source account. Tearing down the source too early is how you lose the mail that arrived during cutover.

The Transfer Tool makes a server-to-server move a copy-then-cutover with a safety net — the source stays live until you decide otherwise. Stack Harbor runs cPanel account and server migrations end to end under cPanel server management — start a conversation when you have a move to plan.