Moving a website to a new host does not have to mean an outage or a rushed DNS change. This practical website migration checklist covers preparation, staging, DNS cutover, email verification, SSL, rollback, and post-launch testing so you can move files, databases, and services with a controlled change window.
Overview
A successful hosting migration is a sequence of small, verifiable changes rather than one large switch. The safest approach is to build and test the site on the new platform while the current host remains live, then change DNS only after the new environment is ready.
Keep the domain registered where it is unless there is a separate reason to complete a domain transfer. Changing hosting and transferring a domain at the same time adds unnecessary variables. During the migration, record the current DNS records, hosting configuration, application versions, scheduled jobs, email settings, and third-party integrations. That inventory becomes both your migration plan and your rollback reference.
For a WordPress site, this usually means copying the web files and database, updating configuration values, testing the site on a temporary address, and checking that plugins, themes, media, forms, and cron jobs work on the new host. For a custom application, the equivalent work may include rebuilding environment variables, deploying code, provisioning a database, and validating background workers or queues. A cloud hosting launch workflow can help structure the new environment before cutover.
Checklist by scenario
Before you copy anything
- Confirm access to the current hosting account, new hosting account, domain registrar, DNS provider, database, and email administration.
- Write down the current DNS records, including A, AAAA, CNAME, MX, TXT, and any verification or service-specific records.
- List every subdomain, such as
www,app,staging,api, andmail. - Check the current site’s PHP, runtime, database, web server, framework, and operating-system requirements against the new host.
- Export a full backup of site files and databases. Store at least one copy outside the current hosting account, then confirm that the archive can be opened.
- Record scheduled tasks, redirects, firewall rules, CDN settings, SSL configuration, analytics tags, payment callbacks, webhooks, and external API credentials.
- Freeze major content or code changes during the final migration window, or plan a final database synchronization immediately before cutover.
Backup preparation deserves its own review. A backup that has never been restored is an assumption, not a tested recovery path. Use the cloud hosting backup strategy guide to review retention and restore testing before you begin.
Build and test the new environment
- Create the destination site, database, users, storage, environment variables, and deployment credentials.
- Copy files and import the database using methods appropriate to its size and platform.
- Update application configuration without exposing secrets in source control or public directories.
- Use a temporary hostname, hosts-file entry, staging URL, or access restriction to test the destination before DNS changes.
- Check homepage and key templates, internal links, images, downloads, forms, logins, search, checkout flows, and administrative functions.
- Recreate scheduled jobs and confirm their timing, commands, permissions, and output.
- Configure the performance basics, including caching, compression, database settings, CDN behavior, and the required runtime version.
Prepare DNS and the cutover
- Lower the DNS TTL for records you expect to change, preferably before the migration window. TTL changes are not instantaneous everywhere, so allow time for existing caches to expire.
- Decide whether the root domain,
www, API, and other subdomains will point to the new host at the same time or in separate stages. - Keep email records unchanged unless email is also moving. Copying only the website’s A record should not remove MX, SPF, DKIM, or DMARC records.
- Take a final backup and, for database-driven sites, complete a final sync after placing the site in maintenance or read-only mode if necessary.
- Change only the required DNS records. Record the exact old and new values and the time of the change.
- Use a DNS propagation checker and direct hostname tests, but remember that different resolvers may update at different times.
After DNS points to the new host
- Confirm the site loads over both the root domain and
www, if both are supported. - Issue or activate the SSL certificate and test HTTP-to-HTTPS redirects, certificate coverage, and mixed-content warnings.
- Test contact forms, transactional email, authentication, payments, uploads, search, webhooks, APIs, and integrations.
- Check access and error logs for missing files, permission errors, database failures, redirect loops, and unexpected bot traffic.
- Verify analytics, search-console ownership, sitemap access, robots directives, canonical URLs, and important redirects.
- Keep the old hosting account available until the new site has passed the agreed observation period and the rollback decision is no longer needed.
What to double-check
Email: Website files and email are separate services. Confirm MX records first, then verify SPF, DKIM, and DMARC records with the email provider. Send a test message to an external mailbox and reply to it. Test both a normal mailbox and any shared address, forwarding rule, autoresponder, or application notification that matters to the business.
SSL: A certificate may cover the primary hostname but not every subdomain. Confirm the certificate after DNS points to the new server, and test the complete chain in a browser or appropriate diagnostic tool. If the site uses a CDN or reverse proxy, check TLS settings at both the edge and origin.
WordPress and database-driven sites: Check the site URL values, serialized configuration, file permissions, upload paths, permalink rules, object caching, and scheduled tasks. Purge old caches only after confirming the new origin works. If content changed during copying, perform a final database sync rather than assuming the first export is current.
Search visibility: Preserve URL paths, title and meta data, canonical tags, redirects, robots rules, and sitemap behavior. A host change should not require changing URLs. If URLs must change, map every old address to its intended new destination and test representative redirects.
Rollback: Define the trigger before cutover. For example, rollback may be appropriate if checkout, login, critical forms, or database writes fail and cannot be corrected within the planned window. Keep the old DNS values, backup files, database export, and access credentials ready. Reverting DNS is not a substitute for fixing data that was written to only one environment, so document how new orders, leads, or content will be reconciled.
Common mistakes
- Changing nameservers without an inventory: A nameserver change can move control of every DNS record, including email and verification records. Export or document the complete zone first.
- Testing only the homepage: Broken forms, admin pages, media files, API endpoints, and scheduled jobs can remain hidden until users depend on them.
- Deleting the old host too early: Keep a recoverable copy until traffic, application behavior, email, and monitoring are stable.
- Ignoring runtime differences: A different PHP, Node.js, database, extension, or operating-system version can cause subtle failures even when files copied correctly.
- Forgetting third-party allowlists: Payment providers, email services, databases, and APIs may restrict requests by IP address or hostname. Update those controls before cutover.
- Assuming DNS propagation is a single event: Some visitors may reach the old host while others reach the new one. Design the transition so both environments are safe to serve during the overlap.
When to revisit
Review this checklist before every host move, platform change, major domain or DNS change, and seasonal planning cycle. Revisit it when your hosting control panel, deployment workflow, DNS provider, CDN, email platform, SSL process, or application stack changes. A migration that worked for a small brochure site may need a different sequence for a high-traffic store, a multi-region application, or a site with frequent database writes.
For your next migration, turn the checklist into a dated runbook with an owner for each task, a planned cutover window, test results, DNS values, and explicit rollback criteria. Add uptime checks before the change and review alerts afterward using a website uptime monitoring setup. Once the new host is stable, compare resource use and recurring costs, then remove obsolete credentials and old infrastructure only after confirming that the recovery copy is retained.