Home › Blog › Migrating a Website Using cPanel
Migrating a Website Using cPanel
19 July 2025 · Dorel Tănase · cPanel
Migrating a website using cPanel. Website migration consists of moving all files, databases, email accounts and configurations from an old server (hosting) to a new one. cPanel facilitates this process, providing intuitive tools that reduce the risk of errors and minimize website downtime.
Website Migration
Preparation Before Migration
Before starting the migration, it is recommended to:- Create a complete cPanel account backup from the old server
- Make sure the new server uses cPanel
- Verify that you have full access to both hosting accounts
- Check compatibility of PHP versions, MySQL and server configurations
Step 1: Creating a Complete Backup in cPanel
- Log into the old cPanel
- Access the Backup or Backup Wizard section
- Click on Download a Full Account Backup
- Select destination: Home Directory
- After generation, download the archive locally to your computer
Step 2: Uploading the Backup to the New Server
Log into the new cPanel account and upload the backup file to the main directory (home) using File Manager or FTP. Then, contact the hosting provider to restore the complete backup in the cPanel account. Many providers accept restoration of backups generated through standard cPanel.
Alternative: Manual File Migration
If you don't use the full backup function, you can manually move the components:- Compress the website files from
public_html - Download the archive and upload it to the new server
- Extract the archive in the new
public_html - Export the database from phpMyAdmin and import it into the new account
- Modify the
config.phporwp-config.phpfile with the new MySQL data
Step 3: Configuring Domain DNS
After the migration is complete, you need to update the domain Nameservers to point to the new server. This modification is made in the registrar's control panel (domain provider) and can take between 1 and 24 hours for complete propagation.Checking Website Functionality
After DNS propagation:- Check if all pages load correctly
- Test functionality of forms, searches and modules
- Make sure media files and database are intact
- Check if SSL is activated on the new server
Additional Recommendations
- Avoid website updates during migration
- Keep a backup copy on the local device
- Use a temporary address or modify the
hostsfile to test the website on the new server before updating DNS
How this article was made
- Author
- Dorel Tănase
- Published
- 19 July 2025
- Last updated
- 9 September 2026
- Sources
We work by our publishing principles, corrections policy, ethics policy.

