Why Migrate from cPanel to HPanel?
cPanel has been the dominant control panel in the hosting industry for over two decades. However, with rising licensing costs, outdated UI, and performance limitations, many hosting providers are looking for modern alternatives. HPanel offers a faster, more affordable, and feature-rich solution that's built for 2026 and beyond.
In this comprehensive guide, we'll walk you through the entire migration process — from backing up your cPanel accounts to having everything running smoothly on HPanel.
Pre-Migration Checklist
Before starting the migration, make sure you have the following ready:
- HPanel license — activated on your destination server
- Root SSH access to both source (cPanel) and destination (HPanel) servers
- Full cPanel backup of all accounts you want to migrate
- DNS access — ability to update nameservers or A records
- At least 2x the disk space of your total cPanel accounts on the destination server
Step 1: Generate Full cPanel Backup
Log into your cPanel server via SSH and run the following command to generate a full backup for each account:
/scripts/pkgacct username /home/backup/
This creates a compressed archive containing all websites, databases, email accounts, and configurations for that user.
Step 2: Transfer Backup Files to HPanel Server
Use rsync or scp to transfer the backup files:
rsync -avz /home/backup/ root@new-server:/home/migrations/
Step 3: Import Accounts into HPanel
HPanel includes a built-in Migration Tool that can parse cPanel backup files. Navigate to:
HPanel Dashboard → Tools → Migration → Import cPanel Backup
Select the backup file and HPanel will automatically:
- Create the user account with the same username
- Restore all website files to the correct document root
- Import MySQL/MariaDB databases and users
- Recreate email accounts and forwarders
- Configure PHP versions per-domain
- Set up SSL certificates via Let's Encrypt
Step 4: Update DNS Records
Once the import is complete and you've verified everything works, update your DNS:
- Change A records to point to the new HPanel server IP
- Update MX records if you're hosting email on the same server
- Allow 24-48 hours for DNS propagation worldwide
Step 5: Verify and Test
After DNS propagation, thoroughly test:
- All websites load correctly with proper SSL
- Email sending and receiving works
- Database-driven applications (WordPress, etc.) function properly
- Cron jobs are recreated and running
Common Migration Issues and Solutions
PHP Version Mismatch
If a website was running PHP 7.4 on cPanel but HPanel defaults to PHP 8.2, you may see errors. Use the PHP Manager in HPanel to set the correct PHP version per domain.
File Permissions
After migration, some files might have incorrect ownership. Run:
chown -R username:username /home/username/public_html/
Database Connection Errors
Database usernames in HPanel may differ from cPanel. Check your application's wp-config.php or equivalent configuration file and update the database credentials.
Conclusion
Migrating from cPanel to HPanel is straightforward with the built-in migration tools. Most hosting providers complete the migration in under an hour per server. The result is a faster, more modern control panel with significantly lower licensing costs.
Need help with your migration? Contact our support team — we're happy to assist.