Moving a website to cloud hosting does not require a risky switch-off-and-replace event. This low-downtime migration plan shows how to inventory the current system, prepare the new environment, test staging, synchronize data, change DNS safely, protect email, and monitor the result. Use it as a repeatable checklist for domain moves, platform upgrades, client handoffs, and hosting changes.
Overview
A cloud hosting migration is best treated as a controlled deployment rather than a single DNS change. The goal is to build and test the destination while the existing website remains available, then move traffic only after the new environment is ready.
The exact process depends on the application. A mostly static site may need files, configuration, and DNS records. A WordPress site or ecommerce application may also require a database, scheduled tasks, uploads, payment integrations, transactional email, and background workers. Before choosing a migration method, document what the website actually uses.
Keep the current hosting account active until the new site has passed functional checks and the rollback period has ended. Do not cancel the old service immediately after changing DNS. DNS caches, application bugs, missed records, and incomplete database transfers can take time to identify.
For related infrastructure decisions, see how to choose cloud hosting for a small business website. If the migration includes a registrar change, use the domain transfer and renewal checklist separately from the website cutover.
What to track
1. Inventory the current website
Record the domains and subdomains in use, DNS records, hosting IP addresses, application version, runtime version, databases, storage locations, cron jobs, redirects, third-party integrations, and administrator accounts. Include less visible services such as staging domains, webhooks, analytics endpoints, image storage, and support forms.
Make a separate email inventory. List MX records and any SPF, DKIM, or DMARC records associated with the domain. Website hosting and email hosting may be provided by different systems, so copying only the website's A record can unintentionally affect mail delivery. The SPF, DKIM, and DMARC guide provides a useful reference for this part of the review.
2. Check backups and restoration
Create a fresh backup of website files, databases, and important configuration. Confirm that the backup can be opened or restored in a test location; a backup that has never been tested should not be treated as a complete rollback plan. Record the backup timestamp and identify which data may change between the backup and the final cutover.
For database-backed sites, review the maintenance and backup approach before migration. The database maintenance guide can help separate ordinary cleanup from changes that should wait until after the move.
3. Prepare the destination
Build the new cloud hosting environment with the required runtime, extensions, database engine, storage, environment variables, access controls, and deployment method. Keep secrets out of publicly accessible files. If the site is deployed from Git, establish the production branch and deployment steps before the cutover; the Git-to-production deployment guide covers that workflow.
Install the SSL certificate and configure the intended hostname before launch. Test both the secure and non-secure versions, redirect behavior, canonical URLs, cookies, and mixed-content warnings. Use the SSL certificate setup and renewal checklist to verify certificate coverage and renewal ownership.
4. Test staging with realistic checks
Use a temporary hostname or local hosts-file mapping to test the new server without changing public DNS. Check navigation, forms, authentication, search, uploads, checkout or booking flows, redirects, integrations, mobile layouts, and error pages. Compare representative pages against the current site rather than testing only the homepage.
Review application and server logs during testing. Unexpected 404 and 500 responses often reveal missing files, incorrect rewrite rules, permissions, or environment variables. Keep the website error log reference available while diagnosing these results.
5. Plan synchronization and DNS
Lower the DNS TTL for records you expect to change before the migration window. This may help resolvers refresh the record sooner, but it does not force every cached response to expire at the same time. Treat TTL reduction as preparation, not a guarantee of instant propagation. A DNS propagation checker can show what different resolvers report, but it cannot control caches outside your infrastructure.
Decide how final data will be synchronized. For a read-only or low-change site, a final file and database copy may be sufficient. For an active site, schedule a short maintenance mode, pause writes, take a final database backup, transfer it, and verify record counts or application data before opening the new version. Do not assume that a successful file transfer also includes database changes or user uploads created afterward.
Cadence and checkpoints
Use these checkpoints for every cloud hosting migration:
- Several days before cutover: complete the inventory, confirm ownership of registrar and DNS accounts, test backups, prepare staging, and reduce relevant DNS TTL values.
- During staging: test application behavior, SSL, redirects, email-related records, scheduled tasks, integrations, performance, and access permissions. Confirm that the new server is not accidentally indexing a private staging hostname.
- At cutover: announce the maintenance window if writes may be paused, capture a final backup, synchronize changed files and database records, change only the required DNS records, and record the exact time of each action.
- Immediately afterward: test the website from more than one network, verify both apex and www hostnames where applicable, submit a test form, check login and checkout paths, inspect logs, and confirm that email still works.
- During the observation period: keep the old host available, watch uptime and error monitoring, compare traffic and conversion signals where relevant, and document any fix applied on the new system.
Review scheduled tasks separately. A cron job may still point to an old path, use a missing runtime, or run twice if it remains active on both servers. The cron jobs and scheduled tasks guide explains what to check before disabling the original host.
How to interpret changes
Not every post-migration symptom is a DNS problem. If some users reach the old site while others reach the new one, compare DNS responses from multiple networks and confirm that both environments contain the expected content. If everyone reaches the new site but forms fail, inspect application credentials, outbound email settings, permissions, and logs instead.
A sudden increase in 404 responses commonly points to missing files, changed URL paths, or incomplete redirects. A rise in 500 responses may indicate runtime incompatibility, unavailable services, exhausted resources, or a database connection issue. Slow pages can result from different caching, storage, database, or application settings rather than from DNS propagation.
If users report missing orders, comments, accounts, or uploads, check whether writes continued on the old environment after the final synchronization. This is why the cutover plan must define a write freeze or a method for synchronizing changes during the transition. When uncertain, preserve both environments and logs instead of overwriting the source.
Use the DNS records troubleshooting reference to verify record types and values. Keep an explicit rollback rule, such as reverting DNS only when the new application fails a critical test. Rollback does not recover data written exclusively to the new system, so record the data-handling decision before launch.
When to revisit
Revisit this migration plan before every domain or hosting move, not only when an outage occurs. Review it monthly or quarterly if you manage several sites, and update the operational details whenever the hosting control panel, deployment pipeline, DNS provider, backup system, runtime, or application architecture changes.
At each review, confirm that backups still restore, the SSL renewal owner is known, DNS access is documented, monitoring alerts reach the right person, and rollback steps remain possible. Check that old credentials, temporary staging records, unused DNS entries, and duplicate scheduled tasks have been removed. Review hosting resource use and monthly costs as well; the cloud hosting cost optimization guide can help identify resources that no longer match the site.
Before the next migration, turn the notes from this move into a reusable runbook: owners, prerequisites, commands or control-panel actions, test URLs, approval points, cutover time, rollback conditions, and monitoring links. A documented process makes low-downtime website migration repeatable rather than dependent on memory.