Why Migrate Your Template Website to New Hosting?
There are many legitimate reasons to move your website to a new hosting provider: better pricing, faster servers, improved support, or features your current host doesn't offer. Whatever the reason, migration doesn't have to be scary.
The key to successful migration is preparation and following a proven checklist. Done correctly, your visitors won't notice anything—no downtime, no lost data, no broken links.
Pre-Migration Checklist
Before You Start
☐ Choose and purchase new hosting plan
☐ Have login credentials for old and new hosts
☐ Access to domain registrar (for DNS changes)
☐ FTP client installed (FileZilla recommended)
☐ Database access if you have dynamic content
☐ List of email accounts needing migration
☐ 2-4 hours of focused time
Step 1: Create Complete Backup of Current Site
Never start migration without a full backup. This is your safety net if something goes wrong.
What to Backup:
- All website files (HTML, CSS, JavaScript, images, videos)
- Database (if using WordPress, Drupal, or custom backend)
- Email accounts (if hosted with current provider)
- Configuration files (.htaccess, wp-config.php, etc.)
How to Backup Files:
Method 1: Using cPanel File Manager
- Log into your current hosting cPanel
- Go to File Manager
- Select public_html folder
- Click "Compress" and create a ZIP file
- Download the ZIP to your computer
Method 2: Using FTP
- Connect to your site via FTP (FileZilla)
- Navigate to public_html or www folder
- Select all files
- Right-click and download to local folder
How to Backup Database:
- In cPanel, open "phpMyAdmin"
- Select your database from left sidebar
- Click "Export" tab at top
- Choose "Quick" export method
- Click "Go" to download SQL file
Critical: Store Backups Safely
Keep backups on your computer AND an external drive or cloud storage. Don't rely solely on the old hosting—you might lose access after migration.
Step 2: Set Up New Hosting Environment
Before moving files, prepare your new hosting account to receive them.
- Log into new hosting account
- Create database (if needed):
- Go to MySQL Databases in cPanel
- Create new database
- Create database user
- Add user to database with all privileges
- Note down: database name, username, password, host (usually localhost)
- Set up email accounts (if you use hosting email):
- Recreate all email addresses you had on old host
- Note new hosting nameservers (you'll need these later)
Step 3: Upload Website Files to New Host
Using cPanel File Manager:
- Log into new hosting cPanel
- Open File Manager
- Navigate to public_html
- Click "Upload"
- Upload your backup ZIP file
- After upload, right-click ZIP and select "Extract"
- Move extracted files to public_html root if needed
- Delete the ZIP file to save space
Using FTP (Faster for Large Sites):
- Connect FileZilla to NEW hosting using FTP credentials
- Navigate to public_html on remote server
- On local side, select all your backed-up files
- Drag to remote side to upload
- Wait for transfer to complete (may take 30 min to 2 hours)
Step 4: Import Database (If Applicable)
If your site uses a database (WordPress, custom CMS, etc.):
- Log into new hosting cPanel
- Open phpMyAdmin
- Select the database you created in Step 2
- Click "Import" tab
- Click "Choose File" and select your backup SQL file
- Click "Go" to import
- Wait for "Import has been successfully finished" message
Update Database Connection Info:
If your database credentials changed, update your configuration file:
- WordPress: Edit wp-config.php with new DB_NAME, DB_USER, DB_PASSWORD, DB_HOST
- Other CMS: Look for config.php or similar file
Step 5: Test on New Host Before Going Live
This is the crucial step that prevents downtime. Test everything on new hosting BEFORE changing DNS.
Method 1: Using Temporary URL
Most hosts provide a temporary URL like:
- http://yourdomain.tempurl.com
- http://IP-ADDRESS/~username/
Visit this URL and test your entire site.
Method 2: Modify Hosts File (More Reliable)
This tricks your computer into thinking DNS has already changed:
On Windows:
- Run Notepad as Administrator
- Open: C:\Windows\System32\drivers\etc\hosts
- Add line: [NEW-HOST-IP] yourdomain.com www.yourdomain.com
- Save file
On Mac:
- Open Terminal
- Type: sudo nano /etc/hosts
- Add line: [NEW-HOST-IP] yourdomain.com www.yourdomain.com
- Press Ctrl+X, then Y, then Enter
What to Test:
Testing Checklist
☐ Homepage loads correctly
☐ All internal links work
☐ Images and media display properly
☐ Contact forms send emails
☐ Database-driven content appears
☐ Login systems work (if applicable)
☐ SSL certificate is installed
☐ Site works on mobile devices
☐ No 404 errors or broken pages
Step 6: Update DNS to Point to New Host
Once testing confirms everything works, it's time to point your domain to the new hosting.
- Log into your domain registrar (GoDaddy, Namecheap, etc.)
- Find your domain's DNS/Nameserver settings
- Replace old nameservers with new ones provided by new host
- Save changes
Typical nameserver format:
- ns1.newhostingcompany.com
- ns2.newhostingcompany.com
Important: DNS Propagation Time
After changing nameservers, allow 4-48 hours for global DNS propagation. During this time, some visitors will see your old site and some will see the new one. This is normal and unavoidable.
Step 7: Monitor and Verify Migration
Track DNS Propagation:
- Visit whatsmydns.net
- Enter your domain
- Check if most locations show new hosting IP
Test from Multiple Locations:
- Ask friends in different cities to visit your site
- Use mobile data (different network than your home)
- Check your site from a VPN in another country
Monitor for Issues:
- Check Google Analytics for traffic drops
- Monitor error logs in new hosting cPanel
- Test contact forms and functionality daily
Step 8: Cancel Old Hosting (After Verification)
Don't rush to cancel your old hosting! Wait at least 7-14 days after migration to ensure:
- DNS has fully propagated worldwide
- No unexpected issues arise
- All data transferred correctly
- Email migration is complete
Once you're confident everything works, you can safely cancel the old hosting account.
Special Case: Migrating Email
If you use email accounts hosted with your website, you need to migrate them too:
- Create accounts on new host with same names
- Configure email client (Outlook, Thunderbird) to connect to new server
- Download old emails using IMAP before canceling old host
- Update MX records if needed (new host usually does this automatically)
Common Migration Mistakes to Avoid
Mistake 1: Changing DNS Before Testing
Always test on new hosting using temporary URL or hosts file before changing DNS. Otherwise, you risk downtime if something doesn't work.
Mistake 2: Forgetting Database Configuration
If you import your database but forget to update database credentials in config files, your site will show errors.
Mistake 3: Not Backing Up Emails
Email data isn't automatically transferred. If you cancel old hosting without backing up emails, they're lost forever.
Mistake 4: Canceling Old Hosting Too Quickly
Keep old hosting active for at least 7-14 days after DNS change. This gives you a fallback if issues arise.
Frequently Asked Questions
How long does website migration take?
File transfer takes 1-3 hours for most template sites. DNS propagation adds 4-48 hours. Total time: 1-2 days from start to complete worldwide migration.
Will my site be down during migration?
If you follow this checklist (test before changing DNS), there should be zero downtime. Your old site stays online until DNS switches to new host.
Do I need technical skills to migrate my website?
Basic skills help, but this checklist guides you through each step. If you can copy files and follow instructions, you can migrate. Many hosts also offer free migration services.
Will migration affect my SEO rankings?
If done correctly with minimal downtime and no broken links, migration shouldn't hurt SEO. Google treats it as a server change, not a site change.
What if something goes wrong during migration?
This is why you keep old hosting active! If new site has issues, you can revert DNS to old nameservers and troubleshoot before trying again.
Final Migration Checklist
Complete Migration Checklist
☐ Backup all files from old host
☐ Backup database if applicable
☐ Purchase new hosting account
☐ Create database on new host
☐ Upload files to new host
☐ Import database
☐ Update database config if needed
☐ Install SSL certificate on new host
☐ Test site using temporary URL or hosts file
☐ Verify all functionality works
☐ Change nameservers at domain registrar
☐ Monitor DNS propagation
☐ Test site from multiple locations
☐ Wait 7-14 days before canceling old host
☐ Cancel old hosting subscription
Final Thoughts
Website migration might seem daunting, but it's a manageable process when broken into steps. The key is preparation: backup everything, test thoroughly, and don't rush.
If you prefer hands-off migration, many hosts (including SiteAmplify) offer free professional migration services. Their team handles everything—you just point them to your old hosting and they do the rest.
Ready to Switch Hosting?
Get faster hosting with free migration service included. No technical work required.
View Hosting Plans