Moving a live site to cloud hosting does not have to mean crossing your fingers during DNS propagation. A careful migration can be routine, reversible, and nearly invisible to visitors if you prepare the destination environment, control data changes, and treat cutover as a planned release rather than a last-minute switch. This guide gives you a reusable checklist for website migration without downtime, including pre-migration prep, DNS timing, rollback planning, backup safeguards, and scenario-specific cutover steps for static sites, CMS sites, ecommerce stores, and custom applications.
Overview
If you want to move a website to cloud hosting with minimal or no visible downtime, the core idea is simple: build and validate the new environment before you point production traffic at it. Downtime usually happens when teams migrate in the wrong order, skip restore testing, update DNS too early, or forget that databases and uploads continue changing while they work.
A zero-downtime migration is really a controlled transition between two systems:
- Source environment: the current host serving live traffic.
- Target environment: the new cloud hosting setup, configured to be production-ready before cutover.
Your job is to reduce the gap between them until the final switch is safe. For some sites, that means a straight copy and DNS cutover. For others, it means temporary read-only mode, content freeze windows, database replication, or CDN-origin changes.
Use this migration framework:
- Inventory everything that makes the site work: code, database, media, SSL, redirects, cron jobs, email routing, DNS records, cache layers, and third-party integrations.
- Create verified backups of both files and databases, and make sure restore steps are known in advance.
- Build the target environment to match production requirements, including PHP or runtime versions, web server rules, storage layout, SSL handling, and scheduled tasks.
- Test on a temporary URL or hosts-file override before touching public DNS.
- Lower DNS TTL ahead of time if your DNS provider supports it and you still control the current records.
- Choose a cutover method based on how dynamic the site is.
- Monitor after cutover and keep the old host intact until the new environment is proven stable.
If your hosting choice is still unsettled, it helps to define what the destination must provide before you migrate: backups, snapshot support, CDN compatibility, SSL handling, scaling options, logs, and reliable storage. Related reading: How to Choose Website Hosting with Automatic Backups.
Checklist by scenario
This section gives you a practical cloud hosting migration guide by site type. Not every site needs every step, but each checklist reflects the places teams usually get caught.
Universal pre-migration checklist
- Document the current stack: OS, web server, runtime, database version, SSL setup, scheduled tasks, redirects, firewall rules, CDN, and DNS provider.
- Export a full backup of site files.
- Export a full backup of the database.
- Store backups outside the source host.
- Test at least one restore path, even if only into a staging environment.
- List all DNS records, not just the main A record: www, MX, TXT, SPF, DKIM, subdomains, API endpoints, and verification records.
- Reduce DNS TTL before migration if practical.
- Build the new server or managed cloud hosting instance with matching versions where compatibility matters.
- Install SSL or confirm how certificates will be provisioned after cutover.
- Set up logs, monitoring, health checks, and basic alerting.
- Prepare a rollback trigger: what exact conditions would make you revert traffic?
- Schedule a low-risk migration window and notify stakeholders.
For a broader infrastructure baseline, see Domain, DNS, and Hosting Setup Checklist for New Websites.
Scenario 1: Static site hosting migration
Static sites are usually the easiest way to achieve website migration without downtime because there is no live database to reconcile. If the site is generated from a build process, cutover often comes down to validating the new deployment pipeline and changing DNS or CDN origin settings.
- Pull the latest source files or build artifacts.
- Recreate the build process in the target environment.
- Deploy the full static output to the new host or object storage-backed origin.
- Validate paths, redirects, assets, forms, and cache headers.
- Confirm custom domain and SSL readiness.
- If using a CDN, pre-warm or validate edge behavior where possible.
- Switch DNS or update CDN origin.
- Monitor 404s, asset loading, and cache hit behavior.
If you are deciding between architectures before moving, compare the tradeoffs in Static Site Hosting vs Traditional Web Hosting: Cost, Speed, and Maintenance.
Scenario 2: WordPress or other CMS migration
CMS platforms are more sensitive because content, comments, plugins, and uploads may change while you migrate. The main risk is stale data: the new host looks correct, but is already behind the live site at cutover.
- Clone files, themes, plugins, and media uploads to the target.
- Export and import the database.
- Update configuration values for database credentials, file paths, and environment variables.
- Adjust site URL values only in staging or with migration-aware tooling.
- Test admin login, media library, forms, search, plugin behavior, scheduled tasks, and caches.
- Freeze content edits close to cutover, or schedule a final database sync.
- Take a fresh backup immediately before the final sync.
- Run the final file and database sync.
- Cut over DNS.
- Purge caches after cutover, including application cache and CDN cache if needed.
For WordPress cloud hosting, pay special attention to writable directories, image processing libraries, object caching, and cron behavior. Background jobs that silently fail can create problems hours after the migration appears complete.
Scenario 3: Ecommerce migration
Ecommerce sites need the strictest cutover discipline because orders, inventory, customer accounts, and transactional emails are changing continuously. The safest path is usually a short maintenance or checkout-freeze window rather than pretending the site is static.
- Audit integrations: payment gateways, tax tools, shipping APIs, ERP sync, fraud tools, transactional email, search, and analytics.
- Clone application files and supporting services.
- Restore a recent database copy to the target.
- Test full checkout in a non-production-safe way where supported.
- Verify webhooks, callback URLs, and API allowlists.
- Plan a short freeze window for catalog changes, orders, or admin actions if needed.
- Take a final backup at the start of the cutover window.
- Run the final incremental sync or final database import.
- Switch traffic only after confirming payment and email services point to the correct environment.
- Keep the old host available in read-only form until order flow is stable.
For ecommerce, “no downtime” often means “no customer-facing outage,” not “zero administrative interruption.” A five-minute freeze window is usually safer than risking split-brain orders across two environments.
Scenario 4: Custom app or API-backed site
Custom applications add deployment complexity because infrastructure dependencies matter as much as web files. Queues, workers, secrets, background jobs, storage mounts, and object storage may all be part of the real application.
- Inventory app services: database, cache, queue, object storage, workers, scheduler, search, and secrets management.
- Provision the target stack with parity where required.
- Migrate environment variables and secrets carefully; do not hard-code production values into images or repositories.
- Confirm health checks, readiness checks, and log shipping.
- Run application-level smoke tests against the target.
- If the app supports blue-green deployment, use it.
- If not, prepare a short write freeze or maintenance mode during the final database transition.
- Update DNS, load balancer targets, or reverse proxy upstreams.
- Watch error rates, queue depth, and database connection pressure immediately after cutover.
If your application also depends on external storage, review storage architecture before migrating. These may help: Object Storage vs Block Storage vs File Storage: When to Use Each and S3-Compatible Storage Providers Compared: Features, Limits, and Best Use Cases.
DNS cutover checklist
DNS is where many migrations feel uncertain. In practice, DNS is manageable if you separate record change from production readiness.
- Lower TTL well before migration, not at the last minute.
- Confirm whether you are changing nameservers or only individual DNS records. Nameserver changes are usually broader and riskier.
- Prefer changing only the records needed for the website if email and other services are already stable.
- Verify A, AAAA, CNAME, and apex-domain behavior on the new platform.
- Confirm SSL on both root domain and www before or immediately after cutover.
- Keep old origin infrastructure live during propagation.
- Check from multiple networks or tools, but trust application-level health more than DNS anxiety.
If the site sits behind a CDN, another low-risk option is to keep the public DNS unchanged and update the CDN origin instead. That reduces the number of moving parts during the migration. For CDN planning, see Best CDN for Small Business Websites: Features, Pricing, and Setup Difficulty.
What to double-check
Before you declare the migration complete, run a final review. Many problems are not outages; they are partial failures that only appear in admin flows, background jobs, or long-tail pages.
- Backups: Confirm fresh backups exist for both source and target environments and that retention is appropriate. See Cloud Backup Retention Policy Checklist for Small Business Websites.
- Restore readiness: Know how long a restore would realistically take and who can execute it. Related: Website Restore Time Benchmarks: What a Good Backup System Should Deliver.
- File permissions and writable paths: Uploads, cache directories, sessions, and generated files often fail due to permissions mismatches.
- Redirects and canonical behavior: Check www to non-www rules, HTTP to HTTPS, old slug redirects, and trailing slash handling.
- Email routing: Contact forms may work while mail delivery fails because MX, SPF, DKIM, or SMTP settings were overlooked.
- Cron jobs and background tasks: These are often forgotten in a hosting migration checklist. Confirm they run only where intended.
- CDN and cache rules: Make sure the new origin is serving current assets and that stale cache does not mask errors.
- Robots and staging controls: Remove staging noindex headers, IP restrictions, or basic auth that should not remain in production.
- Third-party callbacks: Payment gateways, webhooks, OAuth callbacks, and API allowlists may still point to the old host.
- Observability: Review logs, 4xx and 5xx responses, CPU spikes, database slow queries, and storage usage in the first 24 to 72 hours.
It is also worth checking backup storage cost and durability assumptions if your new platform changes how snapshots or offsite copies are billed. Useful references: Cloud Storage Pricing Calculator Guide: How to Estimate Object, Block, and Backup Costs and Best Cloud Storage for Website Backups in 2026.
Common mistakes
Most failed migrations are not caused by a single dramatic error. They come from small omissions that stack up. These are the mistakes worth actively designing against.
- Switching DNS before testing the target environment. Always validate the new site via temporary domain, preview URL, or hosts-file override first.
- Assuming backups are enough without testing restore. A backup that cannot be restored quickly is not a migration safety net.
- Forgetting the final sync. If content, orders, or submissions changed after the first copy, your target may already be stale.
- Changing nameservers when only one web record needed updating. This adds unnecessary risk to email and unrelated services.
- Leaving the old host too early. Keep it available until logs, forms, jobs, and user behavior look normal on the new platform.
- Ignoring SSL timing. Certificate issuance, validation, and redirect rules should be planned, not improvised after launch.
- Missing hidden dependencies. Cron, webhooks, object storage buckets, search services, and firewall allowlists matter as much as the main web app.
- Not defining rollback criteria. Teams talk about rollback in theory but never decide what metrics justify it.
- Skipping communication. Even an internal migration needs a clear owner, timeline, freeze window, and sign-off path.
A good rule is this: if a component affects content, traffic, security, or revenue, put it on the checklist explicitly. Do not rely on memory during cutover.
When to revisit
This migration playbook is worth revisiting whenever the underlying inputs change, not just when a move is already underway. Before your next migration window, review and refresh the checklist in these situations:
- Before seasonal traffic periods: Freeze unnecessary platform moves before peak campaigns, or tighten the checklist if migration cannot wait.
- When your DNS provider, registrar, or CDN changes: Cutover steps may change even if the application does not.
- When your application stack changes: New runtimes, containers, object storage, edge caching, or managed databases can alter the migration path.
- When backup policy changes: If retention, snapshot frequency, or restore tooling changes, your rollback assumptions may no longer be valid.
- When the site becomes more dynamic: A brochure site can become a store, member portal, or API-backed app, which changes the cutover method.
- After any migration retrospective: Add the problems you encountered to the standing checklist so the next cutover gets easier.
For a practical next step, keep a versioned migration runbook with five fields: environment inventory, backup locations, DNS records, cutover sequence, and rollback sequence. Review it before every hosting change. If you are planning to move website hosting with backups, CDN support, or more scalable cloud hosting, the runbook is what turns a stressful switch into a repeatable operation.
In short: build first, test first, sync last, switch carefully, and rollback only if your predefined signals say the new environment is not ready. That is how to move a website to cloud hosting without downtime in a way that remains useful long after a single migration project ends.