cPanel

Migrate from 20i to MdmHost cPanel hosting

Move a website from 20i to MdmHost cPanel: export files, databases and email, rebuild the site in cPanel, then switch DNS with minimal downtime.

IntermediatecPanel hosting4 min read

20i uses its own hosting panel (My20i and StackCP for resellers' clients), not cPanel, so a move to MdmHost is a manual copy of files, databases and mail. Resellers moving many 20i sites should repeat the steps per site and switch DNS in batches.

Before you start

  • Your 20i login.
  • An MdmHost cPanel account; see web hosting.
  • A list of websites, databases, mailboxes and DNS records on 20i.

Back up everything on 20i

  1. Download the website files over SFTP or FTP (the File Manager or FTP details in the 20i panel). Compressing the folder first, if the file manager allows it, is much faster.
  2. Export each database with phpMyAdmin (opened from the MySQL databases page in the 20i panel) as an SQL file.
  3. Write down every mailbox and forwarder, and copy the DNS records from the DNS editor into a text file.
  4. Check whether the account has scheduled tasks or a specific PHP version set.

Restore the site in cPanel

  1. Add the domain in cPanel → Domains → Domains if it is not the main domain.
  2. Upload the files archive in File Manager to the document root and extract it.
  3. Create the database and user in Manage My Databases, import the dump in phpMyAdmin and update the app config with the new details.
  4. For WordPress, a migration plugin is often easiest; see migrate WordPress to MdmHost.

Migrate email with IMAP sync

Mailboxes rarely restore cleanly between different control panels, so the dependable method is to create the same addresses in cPanel → Email → Email Accounts and copy the messages over IMAP:

  1. List every mailbox on 20i with its approximate size.
  2. Create the same addresses on cPanel and give each enough quota.
  3. Run an IMAP sync per mailbox from the old server (by IP or hostname, since DNS still points there) to the new one. imapsync between servers explains the command; migrate email to cPanel over IMAP covers the cPanel side.
  4. After the DNS switch, run the same sync again. imapsync skips messages it has already copied, so the second pass only picks up mail that arrived in between.

Tip: Forwarders, autoresponders and filters are not copied by IMAP. Note them down on the old panel and recreate them under cPanel → Email.

Copy DNS records

Note custom TXT, CNAME and SRV records in 20i's DNS editor and recreate them in cPanel → Zone Editor.

Switch DNS with minimal downtime

  1. One or two days before the move, lower the TTL of the A, AAAA and MX records at the current DNS host to 300 seconds. See DNS TTL strategy for a server migration.
  2. Test the new copy before switching: add the new server IP for the domain to your computer's hosts file and browse the site.
  3. Freeze changes on the old site (no new orders, posts or comments), take a final database export and import it on cPanel if content has changed since the first copy.
  4. Either point the A records to the new IP, or change the domain's nameservers to the ones in your MdmHost welcome email. Changing records is faster when the TTL is already low; nameserver changes can take up to 24–48 hours.
  5. Keep the old account running for at least a week so slow resolvers and delayed mail still land somewhere.

Post-migration checks

  • The site loads over HTTPS with a valid certificate. AutoSSL issues it once DNS points to MdmHost; run it from cPanel → Security → SSL/TLS Status if needed.
  • Forms, logins, checkouts and uploads work, and there are no database connection errors.
  • Sending and receiving email works from webmail and from your mail client, and SPF/DKIM pass in cPanel → Email → Email Deliverability.
  • Cron jobs are recreated under cPanel → Advanced → Cron Jobs with the new paths (/home/username/…).
  • The PHP version in cPanel → Software → MultiPHP Manager matches what the old server used.

FAQ

Can I restore 20i backups in cPanel?

Not directly; 20i uses its own panel, so move the files and SQL dumps as shown.

I resell 20i hosting. Where do clients go?

Create a cPanel account per client on an MdmHost reseller plan, then move each site.

Do I need to transfer the domain too?

No. You can keep it where it is and update DNS, or move it later with domain transfer.

Next steps

Was this guide helpful?

Still stuck?

Ask MdmHost AI for a quick answer, or open a ticket and our team will take a look. We are here 24/7.