Skip to content

Migration to cPanel — the four patterns that actually work

Senior-operator framing of the four ways to migrate accounts onto a cPanel host, with the failure modes specific to each.

Migrating accounts onto cPanel is a routine operation done badly. The default impulse — scp files and mysqldump the database — works for a single small site and falls apart at scale. The four patterns that actually work for cPanel migrations differ by source-system type and account density; mixing them is where most migrations go wrong.

The trade-off

Each pattern trades off downtime, complexity, and fidelity:

  • cPanel-to-cPanel via WHM Transfer Tool — works between any two cPanel WHM servers. Captures account state including DNS, mail, databases, configuration. Built into cPanel.
  • Non-cPanel source via cPanel restore from manual backup — works when the source can produce a cPanel-compatible backup format (some non-cPanel hosts can; many can’t).
  • Manual reconstruction — recreate the cPanel account empty, copy files via rsync, dump-and-import database, manually recreate mail accounts. Highest fidelity if done carefully; highest labour.
  • Migration tools (cPanel cPRapid, third-party like Migrate2cPanel) — automation layer over the manual pattern. Useful at fleet scale.

How to decide

  1. cPanel-to-cPanel? WHM Transfer Tool, every time. It handles the cases manual reconstruction will miss.
  2. Source is Plesk, DirectAdmin, or shared-hosting panel with a documented export? Check whether cPanel’s transfer tool supports importing it. As of 2026, cPanel Transfer Tool imports Plesk and DirectAdmin natively for accounts (not the whole panel state).
  3. Source is bespoke / WordPress-only / unknown panel? Manual reconstruction. The fidelity question becomes “what specifically must move” — files, DB, mail, DNS, redirects.
  4. Bulk migration of 50+ accounts? A migration tool plus a structured runbook. Manual at this scale is days of human time.
  5. Mail must transition without UIDL gap or message loss? IMAP-to-IMAP migration (imapsync, davmail) in parallel with the rest. Mail is the part that’s hardest to get right.

What to do

  1. Pre-stage the destination cPanel server. Create the accounts (empty), set quotas, plans, feature lists.
  2. Lower TTLs on DNS records 24-48 hours before cutover. See the low-TTL pre-cutover runbook.
  3. Migrate files via rsync (or transfer tool) in increments — initial bulk, then frequent deltas — so the final cutover transfers only changes.
  4. Migrate mail in parallel with imapsync; mailbox state is the long tail that the panel-level tools sometimes miss.
  5. Cut DNS over to the new server during a low-traffic window. Watch logs on both sides for the first 24 hours — see the 24-hour post-cutover watch.
  6. Keep the old account alive in read-only mode for 30 days. Customers will find files they didn’t realize they needed.
  7. Document everything. Migrations create operational debt — what was migrated, what wasn’t, what configuration changed — and the documentation is the only way out.

Stack Harbor handles migrations to cPanel under migration services.