Every step I follow before, during and after moving a website — backups, DNS, email, SSL, redirects and SEO checks.
Published 4 min readBy Harjeetsingh Riar
hsriar.comWebsite Migration Checklist: Move Hosting Without Losing Data, Email or SEO
Practical guide
Written by a developer
4-minute read
Website Migration Checklist: Move Hosting Without Losing Data, Email or SEO
Quick answer
A safe website migration follows one rule: build and test the site on the new server before you point the domain at it. Back up everything, record your current DNS and email records, lower DNS TTL a day ahead, copy and test the site on the new host, then switch DNS, re-sync anything that changed, confirm SSL and email, and keep the old hosting until the new one is verified. If URLs change, add 301 redirects and update Search Console.
Key takeaways
Never cancel old hosting until the new site and email are verified.
Write down every DNS record — especially MX, SPF, DKIM and DMARC — before changing anything.
Lower TTL 24–48 hours before the switch to shorten propagation.
Test with the real domain on the new server (hosts file) before switching DNS.
Which kind of migration are you doing?
“Website migration” covers several different jobs, and the risks differ:
Hosting move: same domain, same URLs, new server. Lowest SEO risk; email and DNS are the main dangers.
Domain change: new domain name. Every URL changes, so redirects and Search Console steps are essential.
Platform change: for example Wix to WordPress, or Magento 1 to Magento 2. Content, URLs and functionality all change.
Protocol or structure change: HTTP to HTTPS, or a new URL structure during a redesign.
Many projects combine two or more of these. The checklist below covers all of them; skip the parts that do not apply.
Phase 1: Before the migration
Inventory
Where is the domain registered, and who has the login?
Where is DNS managed (registrar, host, Cloudflare)?
Where is email hosted (host, Google Workspace, Zoho, Microsoft 365)?
Which CMS, PHP version, database and extensions does the site use?
Any cron jobs, API keys, payment webhooks or SMTP settings?
Backups
Full file backup, including uploads/media
Database export
Email backup if the mail provider is changing
Store backups somewhere other than both servers
Test that the backup actually opens
DNS records
Export or screenshot every record: A, AAAA, CNAME, MX, TXT
Note SPF, DKIM and DMARC values exactly
Note verification records (Google, Microsoft, etc.)
Lower TTL to around 300 seconds 24–48 hours before the move
SEO baseline
Crawl the old site and save the list of URLs
Export top pages from analytics and Search Console
Note titles, meta descriptions and canonical tags
Check which pages have backlinks
Phase 2: Prepare the new server
Create the hosting account or server in the business owner’s name.
Match or upgrade the PHP version — test compatibility first.
Install required PHP extensions and set memory and upload limits.
Create the database and a dedicated database user with a strong password.
Prepare SSL: on many hosts it can be issued after DNS points to the server; plan for that window.
Set up backups and monitoring on the new server before launch, not after.
For WordPress or Magento domain or protocol changes, run a serialisation-safe search-and-replace for URLs — never a plain text replace on the database dump.
Preview the site on the new server using your computer’s hosts file, so you can browse it with the real domain before DNS changes.
Test: home page, key pages, images, forms, search, login, checkout (with test payments), admin area and any scheduled tasks.
Check error logs on the new server.
Phase 4: Switch over
For sites that take orders or submissions, plan a short content freeze or a final re-sync of the database.
Update DNS A/AAAA (or CNAME) records to the new server.
Do not change MX records unless the email provider is also changing.
Issue or confirm the SSL certificate, and force HTTPS with a single redirect.
Re-sync any orders, form entries or uploads created during propagation.
Phase 5: After the migration
Check
How
Why
Website loads from new server
Check DNS from several locations
Confirms propagation
SSL valid, no mixed content
Browser padlock, console warnings
Security and trust
Forms deliver
Submit every form
Enquiries are the point of the site
Email sends and receives
Test inbound and outbound; check SPF/DKIM pass
Avoid lost or spam-foldered mail
Redirects work
Test old URLs return one 301 to the right page
Preserve rankings and links
Search Console
Submit sitemap; watch coverage and crawl errors
Catch indexing problems early
Backups & monitoring
Confirm first backup ran
Protection from day one
Keep the old hosting for at least a couple of weeks. It is your safety net if something was missed, and some DNS resolvers cache records longer than expected.
Extra steps for a domain change
Map every old URL to its new equivalent and add server-level 301 redirects (one hop, no chains).
Keep the old domain registered and redirecting for the long term.
Verify both domains in Google Search Console and use the change-of-address tool.
Update links you control: social profiles, Google Business Profile, directories and email signatures.
Common migration mistakes
Cancelling old hosting before checking the new site — and losing data or email.
Forgetting email DNS records, so mail silently stops arriving.
Plain-text replacing URLs in a WordPress database and corrupting settings.
Redirecting every old page to the home page instead of the matching page.
Forgetting cron jobs, payment webhooks or API callbacks that point to the old server.
A simple hosting move is often completed in one to three working days including DNS propagation and testing. Platform or domain migrations take longer.
Will my site go down during migration?
With testing before the DNS switch and a lowered TTL, downtime is usually minimal or none.
Do I lose SEO when I change hosting?
Not if URLs stay the same and the new server is at least as fast and reliable. SEO risk mainly comes from changing URLs without redirects.
Written by Harjeetsingh Riar — a freelance website developer based in Vadodara, Gujarat, with 8+ years of experience building WordPress, Magento 2 and custom PHP websites. About me · Contact