How to Migrate Your Website
Moving your website to a new host? Follow this guide for a smooth migration.
Pre-Migration Checklist
- Backup all website files
- Export all databases
- Document current configurations
- Note all email accounts
- Check domain expiration date
Migration Steps
Step 1: Backup Everything
Files:
- Download via FTP or cPanel File Manager
- Include all folders: public_html, .htaccess, etc.
Database:
- Use phpMyAdmin to export
- Choose SQL format
- Include all tables
Step 2: Set Up New Hosting
- Purchase new hosting plan
- Set up new cPanel account
- Note new server details
Step 3: Upload Files
- Upload files to public_html on new server
- Verify all files transferred correctly
- Check file permissions
Step 4: Import Database
- Create new database in cPanel
- Create database user and assign privileges
- Import SQL file via phpMyAdmin
- Update database credentials in config files
Step 5: Test Before DNS Change
- Use hosts file to test on new server
- Verify all pages load correctly
- Test forms and functionality
Step 6: Update DNS
- Point domain to new nameservers
- Or update A record to new IP
- Allow 24-48 hours for propagation
Post-Migration
- Test email functionality
- Check SSL certificate
- Monitor for any errors
- Keep old hosting active for a few days