Basic cPanel → cPanel Migration (Files + Databases)
A simple non-advanced guide for migrating website files, addon domains, and databases using only the cPanel interface.
Before You Begin — Preparation
- Have login details for both old and new cPanel accounts.
- Know which domains/addon domains exist.
- Check disk space on the new hosting account.
- Pick a low-traffic time for the final switch.
Note: Emails and DNS are simplified here. Complex mail setups may require separate steps.
Step 1 — Backups (Do This First)
Full cPanel Backup (recommended)
- Log into the old cPanel.
- Go to Backup or Backup Wizard.
- Select Full Backup.
- Download the completed backup.
File-level Backup (File Manager)
- Open File Manager → public_html.
- Select all → Compress → ZIP.
- Download the zip file.
Warning: Do not leave large ZIPs inside public_html.
Step 2 — Addon Domains
- Log into the new cPanel.
- Go to Domains → Addon Domains.
- Create each addon domain.
Creating them first ensures the files land in the correct directory.
Step 3 — Copy Files
A — Old Server
- File Manager → Select all → Compress → ZIP.
- Download the ZIP.
B — New Server
- Upload ZIP.
- Extract ZIP.
C — Cleanup
- Delete ZIP after extraction.
- Fix permissions.
| Item | Permission |
|---|---|
| Folders | 755 |
| Files | 644 |
| Config files | 600 / 640 |
Step 4 — Databases
A — Export from Old
- Open phpMyAdmin.
- Choose DB → Export → Quick → SQL.
B — Create DB on New
- Create database.
- Create user.
- Assign privileges.
C — Import SQL
- Open phpMyAdmin.
- Import → Choose file → Upload.
D — Update Config File
DB_NAME DB_USER DB_PASSWORD DB_HOST
Step 5 — DNS & Cutover
Preview
Use your local hosts file to preview before going live.
Change DNS
- Update A record to new server IP.
- Check MX records if email is hosted.
Step 6 — Testing
- Load pages.
- Test forms.
- Check images.
- Test uploads.
Common Errors & Fixes
1) 500 / Blank Page
- Permissions incorrect.
- .htaccess issues.
2) DB Connection Errors
- Wrong DB credentials.
3) Missing images / CSS
Final Checklist
- [ ] Full backup created - [ ] Addon domains recreated - [ ] Files zipped + uploaded + extracted - [ ] Database exported + imported - [ ] Config updated - [ ] Permissions fixed - [ ] DNS updated - [ ] Site tested