ARTICLE

Website Migration Checklist: Complete Zero-Downtime Hosting Guide

Back
Website migration issues often stem from poor planning rather than technical problems. Common pitfalls include last-minute decisions before contract expiration, overlooked MX records, switching DNS without prior SSL testing, and missing Cron Jobs. This guide outlines a five-stage process—backup inventory, new environment setup, DNS switch, SEO protection, and launch verification—while highlighting frequent failure causes to minimize risks.

Avoiding Oversights During Moves—Same Applies to Websites

The biggest worry when moving is not packing but fearing something important gets left behind. Documents, utility cancellations, and new keys—if missed—can cause later trouble.

Website migration follows the same logic. Many assume copying files is enough, only to later face unreachable email, dropped search rankings, or broken forms. DNS, SSL, databases, email, and SEO—if neglected—can cause downtime or data loss.

Real cases show most failures result from incomplete planning. This checklist covers the full process from preparation to verification, aiming for zero downtime and zero data loss.

Before Moving: Why Change Hosting?

Clarify the reason for migration first, as different motives affect planning priorities:

Migration ReasonPlanning FocusRisk Level
Poor hosting serviceNew environment validation, contract end dateMedium
Slow website speedPerformance benchmarking, CDN setupMedium
Higher security needsSSL/TLS configuration, firewall rulesHigh
Growing traffic requiring expansionLoad testing, auto-scalingHigh
Reducing operating costsCost comparison of plansLow
Technical architecture upgradeCompatibility, version updatesHigh

Common mistake: Regardless of reason, start planning at least 30 days before contract expiry; for revenue-critical sites, allow 60 days. One case started only 5 days prior, resulting in rushed work and compromised quality.

See related hosting guides for plan selection.

Stage 1: Full Backup and Environment Inventory

The first step is to inventory all components without missing anything:

Items That Must Be Backed Up

  • Website files: Code, images, uploads, and configs
  • Database: Full structure and data export
  • Email: Account settings, backups, forwarding rules
  • SSL certificate: Files and private key, or prepare for reissue
  • DNS records: Export all A, CNAME, MX, TXT records
  • Scheduled tasks: Cron Jobs and automation scripts
  • Environment variables: DB connections, API keys, third-party settings

Environment Compatibility Check

Check ItemOld HostNew HostCompatible?
PHP versionRecord versionConfirm supported version✓ / ✗
Database versionMySQL / MariaDB versionConfirm version and encoding✓ / ✗
Web ServerApache / NginxConfirm config compatibility✓ / ✗
Memory limitCheck current settingConfirm quota✓ / ✗
File size limitupload_max_filesizeConfirm upper limit✓ / ✗
SSL/TLS supportCheck typeConfirm support✓ / ✗

Keep at least two backups (local and cloud) and test restoration. Cases exist where backups were corrupted or unrecoverable, halting the entire plan.

See related backup guides for details.

Stage 2: New Host Environment Setup and Pre-Testing

After backup, replicate the environment on the new host. Focus on completing tests without affecting the live site; allow at least 3-5 days unless the site is very simple.

Environment Setup Steps

  1. Install system environment: PHP, database, Web Server versions must match
  2. Upload website files: Use SFTP or rsync
  3. Import database: Restore backup and verify tables
  4. Adjust config files: Update connections and paths
  5. Install SSL certificate: Request or install on new host
  6. Set scheduled tasks: Rebuild all Cron Jobs

Pre-Testing Checklist

Before DNS switch, test by editing local hosts file to point to new host:

  • Home page displays correctly
  • All main pages load properly
  • Form submissions work as expected
  • Login functions operate normally
  • Images and files display fully
  • Email send/receive works
  • HTTPS functions without mixed content warnings
  • Site speed meets expectations
  • Mobile browsing works correctly

Custom systems should additionally test APIs, integrations, and admin functions.

Stage 3: DNS Switch—The Critical Moment

The DNS switch is the most critical and error-prone step.

DNS Switch Preparation

  • Lower TTL: Reduce to 300 seconds 24-48 hours before switch
  • Choose low-traffic window: Analyze traffic data for quietest period
  • Notify stakeholders: Inform team and relevant parties

DNS Switch Steps

  1. Confirm all tests on new host pass
  2. Perform final synchronization
  3. Update DNS A record to new IP
  4. Update MX record (if moving email too)
  5. Ensure all subdomain records updated
  6. Monitor logs on both hosts

DNS propagation takes 2-24 hours; keep both hosts running for 48 hours after switch. One case of shutting down the old host too early caused major order loss.

See related DNS guides for more.

Stage 4: SEO Protection—Prevent Ranking Loss

SEO risk is often overlooked during migration; hard-earned rankings can disappear overnight.

SEO Migration Checklist

Check ItemDescriptionImportance
Consistent URL structureEnsure all page URLs remain identical★★★★★
301 redirect setupSet permanent redirects for any URL changes★★★★★
sitemap.xmlUpdate and resubmit Sitemap★★★★☆
robots.txtConfirm search engines are not blocked★★★★★
canonical tagsVerify correct canonical URLs★★★★☆
Structured dataValidate Schema.org markup★★★☆☆
Google Search ConsoleUpdate settings and submit Sitemap★★★★★
GA / GTM trackingConfirm tracking codes work★★★★☆
Internal linksCheck for broken internal links★★★★☆
Image alt attributesEnsure alt text is preserved★★★☆☆

Post-Migration SEO Monitoring

Monitor closely for 4-6 weeks after launch:

  • Ranking changes: Track main keywords via Search Console
  • Indexing status: Confirm Google crawls new pages
  • 404 errors: Watch for new error pages
  • Site speed: Verify Core Web Vitals metrics

See related SEO migration guides for full strategies.

Stage 5: Launch Verification and Ongoing Monitoring

After DNS switch, perform full verification.

48-Hour Post-Launch Checklist

  • All pages load without 500 / 404 errors
  • Form submissions work and notifications arrive
  • Email send/receive functions normally
  • SSL certificate valid and browser shows secure indicator
  • Mobile browsing experience is normal
  • Google Analytics records data correctly
  • Third-party integrations (payments, logistics, APIs) work
  • Admin backend functions normally
  • Site loading speed meets expectations
  • CDN cache cleared and rebuilt

Ongoing Monitoring Items

Continue monitoring for at least 30 days:

  • Uptime monitoring: Ensure 99.9%+ availability
  • Performance monitoring: Regularly check load times and response
  • Security scanning: Verify security settings and scan vulnerabilities
  • Backup verification: Confirm automated backups function

Common Migration Failures and Solutions

Based on experience, the most frequent causes are:

1. Database Encoding Mismatch

Old host uses latin1, new uses utf8mb4, turning Chinese into garbled text.Solution: Match encodings before migration; transcode if needed.

2. Incorrect File Permissions

Permissions too loose or strict prevent writing or reading.Solution: Follow least-privilege: directories 755, files 644, upload dirs 775.

3. Forgotten Cron Jobs

Scheduled tasks not rebuilt, stopping background jobs.Solution: List all tasks during inventory; verify each after migration.

4. SSL Certificate Not Updated in Time

Certificate not installed or auto-renewal incomplete after DNS switch.Solution: Complete SSL setup and verify renewal before switching.

5. Overlooked Email Service Migration

Only website moved, email forgotten, causing receive/send issues.Solution: Treat email as separate item; migrate all related DNS records.

Professional Help Brings Peace of Mind

Website migration spans DNS, servers, databases, security, and SEO—among the most delicate maintenance tasks. Unless experienced multiple times, avoid handling the first migration alone to prevent downtime or lost orders from overlooked details.

Experienced teams can assess current architecture and identify risks early. If considering migration or nearing contract end, consult first.

WhatsApp
Chatbot Icon ANGLIA AI Chatbot
×
For more efficient responses, please shorten your question