A CyberPanel to cPanel migration usually means moving from a self-managed VPS to managed hosting, so you no longer patch the server yourself. CyberPanel and cPanel at MdmHost both use LiteSpeed technology, so most PHP sites move cleanly, but the backup formats differ, so you copy files, databases and mail separately.
Before you start
- CyberPanel admin login and SSH root access to the VPS.
- Your MdmHost cPanel account.
- A list of websites, child domains, databases, email accounts and DNS records in CyberPanel.
Back up each site on the CyberPanel server
- In CyberPanel go to Backup → Create Backup, pick the website and create a local backup as a fallback.
- Over SSH, also make plain copies, which are easier to restore elsewhere:
tar -czf /root/example-files.tar.gz -C /home/example.com public_htmlmysqldump --single-transaction dbname > /root/dbname.sqlFind database names in Databases → List Databases or in the site's config file.
CyberPanel to cPanel migration: restore on MdmHost
- In cPanel add each extra domain under Domains → Domains.
- Upload
example-files.tar.gzin File Manager and extract it into the domain's document root (move the contents of the extractedpublic_htmlup one level if needed). - Create databases and users in Manage My Databases, import the dumps via phpMyAdmin and update the config file.
- With SSH on both sides, copy directly with rsync instead: rsync guide.
Tip: OpenLiteSpeed ignores some .htaccess directives that LiteSpeed on cPanel honours. Review .htaccess after the move in case old, forgotten rules suddenly take effect.
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:
- List every mailbox on CyberPanel with its approximate size.
- Create the same addresses on cPanel and give each enough quota.
- 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.
- 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.
Recreate DNS
If CyberPanel's own DNS served your zone, copy the custom TXT, CNAME and SRV records from DNS → Add/Delete Records into cPanel → Zone Editor. If Cloudflare manages DNS, you only change the A records there.
Switch DNS with minimal downtime
- 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.
- Test the new copy before switching: add the new server IP for the domain to your computer's
hostsfile and browse the site. - 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.
- 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.
- 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.
- LiteSpeed Cache plugin settings are rechecked.
FAQ
Can cPanel import a CyberPanel backup?
Not directly. Use plain tar and SQL copies as above.
Will LiteSpeed Cache keep working?
Yes. MdmHost runs LiteSpeed, so the LiteSpeed Cache plugin continues to work.
Should I keep the VPS after the move?
Keep it for a week as a fallback, take a final snapshot, then cancel it.
