How to migrate a cPanel account to another cPanel server

Three ways to move a whole cPanel account (files, databases, email and DNS zone) to a new server, with annotated WHM screenshots for each.

5–8 minutes
Assorted laptop and desktop hard drives

When both your old and new hosts run cPanelcPanel The most popular hosting control panel: a website where you manage your email, files, databases and domains with point-and-click tools instead of commands. More about cPanel →, you do not need to move files and databases by hand. cPanel packages an entire account (website files, databases, email accounts and messages, DNS zone, SSL certificates and settings) into one archive, and the new server restores it in a single step.

If you have root accessRoot access Full administrator control of a server: you can change anything, including things that break it. More about Root access → to the new server, use WHMWHM WebHost Manager: the administrator side of cPanel, used by whoever runs the server to create and manage hosting accounts. More about WHM →’s Transfer Tool to copy accounts directly between servers. If you only have a cPanel login on the old host, use Transfer or Restore a cPanel Account on the new server, either connecting with that login or uploading a full backup.

MethodYou needBest for
Transfer ToolRoot (or a sudo user) on both serversMoving many accounts between servers you control
Transfer from Remote cPanel AccountWHM on the new server, cPanel login on the oldMoving from a shared host where you have no root
Full backup and restoreA full backup file from the old accountWhen the servers cannot reach each other directly

Before you start

  • The new server runs the same or a newer cPanel version than the old one.
  • It has the PHP versions and extensions your sites use. Compare the EasyApache profiles on both.
  • It has free disk space of at least twice the size of the account archive. The restore extracts the archive next to itself.
  • You have lowered the TTLTTL How long other computers may remember a domain setting before checking again, in seconds. Short means changes show up faster. More about TTL → on the domain’s records to 300 seconds a day ahead. See DNS propagation.
  • You know whether email is moving too. With cPanel, mailboxes move with the account.

Method 1: WHM Transfer Tool

On the new server, open WHM and go to Transfers » Transfer Tool.

WHM Transfer Tool form with the remote server address, SSH port, login type, root password and Restricted Restore fields highlighted
WHM » Transfers » Transfer Tool on the new server. Customer details and addresses are masked.
  1. Remote Server Address: the old server’s IP addressIP address The number address of a device on the internet, like 203.0.113.10. Computers use it to find each other, the way post uses street addresses. More about IP address → or hostname.
  2. Remote SSHSSH A secure way to type commands on a server from your own computer, as if you were sitting at it. More about SSH → Port: usually 22. Use the old server’s custom portPort A numbered door on a server. Each service listens behind its own door: web pages on 443, email on others, remote login on 22. More about Port → if it has one.
  3. Login: choose Root, or User for an account that can become root with sudo or su.
  4. Root Password: or choose SSH Public Key and select a key that is already authorised on the old server, which avoids typing a password.
  5. Restricted Restore: optional extra security checks on each account archive. Leave it off for accounts you know, on for archives you did not create.

Press Fetch Account List at the bottom of the page. WHM connects to the old server and lists its accounts and packages.

  1. Tick the accounts to copy. Leave the default options unless you know you need to change them.
  2. Press Copy. Each account is packaged on the old server, sent across and restored. The progress screen shows a log for every account; a failed account does not stop the others.

When it finishes, open Transfers » Review Transfers and Restores to read each account’s log for warnings.

Method 2: Transfer or Restore a cPanel Account

On the new server, go to Transfers » Transfer or Restore a cPanel Account. This one screen covers three cases.

WHM Transfer or Restore a cPanel Account page showing the Restricted Restore checkbox and the three transfer options
WHM » Transfers » Transfer or Restore a cPanel Account.
  1. Enable Restricted Restore: runs extra checks on the archive. Recommended when the backup came from someone else.
  2. Restore from a local cpmove file: the backup is already on the new server, for example in /home.
  3. Upload a file to restore: upload the backup from your computer.
  4. Transfer from Remote cPanel Account: enter the old host’s address and the account’s own cPanel username and password. WHM logs in as that account and copies it. No root access to the old server is needed.

Making the full backup on the old host

For options 2 and 3, first create the archive in the old account’s cPanel.

  1. Open Files » Backup and click Download a Full Account Backup.
cPanel Backup page with the Download a Full Account Backup button highlighted
Old host’s cPanel » Files » Backup.
  1. Choose Home Directory as the Backup Destination, enter an email address to be told when it is ready, and click Generate Backup.
cPanel Generate a Full Backup form with Backup Destination set to Home Directory and the Generate Backup button highlighted
Generate a Full Backup. The remote FTP and SCP destinations can send it straight to the new server instead.
  1. When it finishes, the archive is listed under Backups Available for Download, named like backup-10.3.2026_03-05-17_username.tar.gz.
cPanel Backups Available for Download list showing the finished full backup archive
The finished archive. Download it, then delete it from the old server.

Download it, or copy it straight to the new server:

scp backup-*_username.tar.gz root@new.server.ip:/home/

With root access, the command-line equivalent is quicker for large accounts:

# on the old server
/scripts/pkgacct username

# on the new server, after copying /home/cpmove-username.tar.gz across
/scripts/restorepkg /home/cpmove-username.tar.gz

After the transfer

  1. Test before switching DNSDNS The internet’s phone book. It turns a name people can remember, like example.com, into the number address computers use to find the server. More about DNS →. Point the domain at the new server in your hosts file and check the site, logins and email. See the hosts-file step in moving WordPress.
  2. Check the IP address. Accounts restore onto the new server’s shared IP unless you assign a dedicated one in IP Functions.
  3. Switch DNS. Either change the A and MX recordsMX record The domain setting that tells the world where to deliver your email. More about MX record → to the new IP, or, if the new server runs your DNS, change the domain’s nameservers. See nameservers. The restored account brings its whole DNS zone with it, so on the new server the Zone Editor already lists every record, now pointing at the new address:
cPanel Zone Records for the restored domain showing A, MX, CNAME and TXT records
New server » cPanel » Domains » Zone Editor » Manage. Check the A, MX and SPF records show the new server’s address before switching. See DNS in cPanel.
  1. Let SSL reissue. AutoSSL on the new server issues fresh certificates once DNS points to it. Until then, SSL/TLS Status shows the names as self-signed; see SSL in cPanel.
cPanel SSL/TLS Status listing every name on the account with a self-signed certificate
New server » Security » SSL/TLS Status, before DNS is switched.
  1. Check email authentication. The DKIMDKIM A digital signature added to every email you send, so the receiving side can check it really came from your domain and was not changed. More about DKIM → key comes with the account, but if DNS is hosted elsewhere, confirm the published DKIM and SPF records match the new server in Email » Email Deliverability.
cPanel Email Deliverability page showing the domain with problems in DKIM and SPF and a Manage button
Email Deliverability flags records that do not match the new server.
  1. Copy late email. Messages delivered to the old server during propagationPropagation The waiting time after you change a domain’s settings, while copies saved around the internet expire and everyone sees the new version. More about Propagation → can be copied across with imapsync. See moving email.
  2. Keep the old account for a few days, then remove it.

A transfer copies the account as it was at that moment. Avoid changes on the old site between the transfer and the DNS switch, or plan a final sync.

Official documentation

Questions people ask

How do I migrate a cPanel account to another server?

If you have root on the new server, use WHM’s Transfer Tool with the old server’s address and credentials; it copies files, databases, email and DNS in one go. Without root, make a full backup in the old cPanel and ask the new host to restore it, or restore it yourself as shown in restoring a full cPanel backup.

Will email be moved in a cPanel migration?

Yes. A full account transfer or full backup includes mailboxes, forwarders and filters. Mail that arrives at the old server during DNS propagation needs a final sync.

How long does a cPanel to cPanel migration take?

The copy itself takes minutes for a small account and a few hours for tens of gigabytes. Add the DNS switch, which is usually under an hour with a low TTL.

Would rather not do this yourself? Moving sites is part of what we do. Tell us what needs moving and we will tell you what it involves, and what it costs.

Get the next guide

One email when there is something worth reading: new guides, errors going around, and hosting changes that affect your site.

No tracking pixels, and one click to leave.

Something out of date? Software changes. If a step no longer works, tell us and we will check it and update the page.