Moving a website to new hosting does not have to mean an outage or lost data. This website hosting migration checklist explains how to prepare a staging copy, transfer files and databases, protect email, reduce DNS risk, test the new environment, schedule the cutover, and keep a rollback plan ready.
Overview
A successful migration is a controlled change, not a single upload. The old host should continue serving visitors while the new environment is prepared and tested. The final switch normally changes where the domain sends traffic, but the quality of that switch depends on work completed earlier: inventory, backups, compatibility checks, staging tests, and monitoring.
Use this guide for a move between cloud hosting providers, a transition to managed hosting, a rebuild on a website builder with hosting, or a change in application infrastructure. The exact hosting-panel labels and migration tools will vary, so confirm the current procedures, supported runtime versions, database engines, and DNS controls with both providers before scheduling the change.
Keep a written record of each decision. A migration log should include the domain, old and new host, planned cutover time, DNS records, application versions, backup locations, test results, named owners, and the condition that would trigger a rollback.
What to track
1. Inventory the site and its dependencies
List every component that must continue working after the move:
- Website files, uploaded media, themes, plugins, and build artifacts.
- Databases, database users, scheduled jobs, queues, and background workers.
- Domains, subdomains, DNS records, redirects, CDN settings, and SSL certificates.
- Transactional email, mailboxes, forwarding rules, contact forms, and third-party email services.
- External integrations such as payment providers, analytics, authentication, webhooks, storage, and API allowlists.
Do not assume that the website is the only service using the domain. Record the purpose of every DNS record before changing nameservers or individual records. For related domain administration tasks, use the domain renewal and expiration prevention checklist as a separate control.
2. Create and verify backups
Take a complete backup of the application files and database before copying anything. If the site receives orders, registrations, comments, form submissions, or other changing data, record the backup time and plan how changes made after that point will be synchronized.
A backup is useful only if it can be restored. Confirm that the archive opens, the database dump is readable, and the destination can accept the required file and database formats. If you have not recently tested recovery, follow the cloud hosting backup and restore testing guide before treating the backup as a rollback asset.
3. Check compatibility before transfer
Compare the old and new environments for runtime versions, extensions, database versions, web-server behavior, filesystem permissions, maximum upload size, memory limits, and scheduled-task support. Application updates are best handled as a separate change where possible. Combining a hosting move with a major platform upgrade makes failures harder to isolate.
4. Build and test a staging copy
Copy the site to the new host without changing public DNS. Protect the staging address from indexing and restrict access where appropriate. Test representative pages, login and logout, forms, file uploads, search, checkout or other critical journeys, administrative functions, redirects, and error pages.
Use a temporary hosts-file entry or another controlled method to preview the destination while the public domain still points to the old host. Test the site over HTTPS and confirm that assets, canonical URLs, cookies, and mixed-content behavior are correct. The SSL certificate troubleshooting guide can help when certificate or redirect checks fail.
5. Compare the migration approaches
| Approach | Best fit | Main risk to control |
|---|---|---|
| Provider migration tool | Common applications with supported source and destination environments | Verify what the tool excludes, then test files, database, email, and redirects separately. |
| Manual file and database transfer | Custom sites or environments requiring precise control | Preserve permissions, configuration values, encoding, and database credentials. |
| Repository-based deployment | Version-controlled applications with repeatable builds | Copy uploads, secrets, environment variables, and persistent data outside the repository. |
| Full rebuild or platform change | Sites being redesigned or moved to a different application model | Map URLs, content, forms, integrations, and redirects before launch. |
6. Prepare DNS and email
Lower the relevant DNS record TTL ahead of the planned cutover, subject to the current provider's controls and your change window. A lower TTL may help resolvers refresh sooner, but it does not guarantee that every visitor will switch immediately.
Document A, AAAA, CNAME, MX, TXT, and verification records. Email deserves special attention: changing nameservers or replacing the zone without copying MX and sender-authentication records can interrupt mail delivery or affect sending. If email is hosted separately, preserve its records and test both inbound and outbound mail.
Cadence and checkpoints
Use the following runbook as a repeatable sequence. Assign an owner and record the result for every checkpoint.
- Preparation: Select a low-risk maintenance window, confirm access to both hosts and the DNS provider, freeze unrelated deployments, and notify stakeholders.
- Backup: Export the database, archive files, save configuration and DNS records, and verify that the restore materials are usable.
- Destination setup: Create the application, database, users, runtime, SSL configuration, environment variables, and scheduled tasks on the new host.
- Initial transfer: Copy files and import the database. Check ownership, permissions, paths, rewrite rules, and application configuration.
- Staging verification: Test critical user journeys, forms, integrations, logs, performance, HTTPS, redirects, and administrative access.
- Final synchronization: Place the application in a short maintenance or write-protected mode if needed, then transfer changes made since the initial copy.
- Cutover: Update the planned DNS records or nameservers, note the exact time, and keep the old site available.
- Validation: Test the public domain from more than one network or resolver, review logs, submit a test form, confirm email, and check important URLs.
- Stabilization: Monitor errors, traffic, resource usage, background jobs, and data consistency before retiring the old host.
Schedule a short review immediately after cutover, another later the same day, and a final review after enough time has passed to cover normal traffic and scheduled tasks. For recurring maintenance, the quarterly cloud site maintenance calendar provides a useful place to record these checks.
For command-line verification, adapt commands to your environment. Examples include dig example.com for DNS responses, curl -I https://example.com for response headers and redirects, and curl -sS https://example.com/health for an application health endpoint if one exists. Do not treat a successful HTTP response alone as proof that forms, databases, email, or scheduled work are functioning.
How to interpret changes
Separate DNS transition effects from application failures. If some networks reach the old host while others reach the new one, compare the resolved address, authoritative DNS records, and request timestamps before changing the application again. This can be expected during a transition, but persistent inconsistency should be investigated with the DNS provider and resolver data.
A spike in server errors after cutover often points to a missing environment variable, incompatible runtime or extension, incorrect permissions, a database connection issue, or an overlooked rewrite rule. A functioning homepage does not rule out failures in account areas, checkout, contact forms, uploads, or cron jobs.
If traffic falls, compare analytics and server logs, then test canonical URLs, robots directives, redirects, SSL, and key landing pages. For capacity concerns rather than migration errors, consult the cloud hosting capacity planning checklist. Avoid changing several variables at once; a stable migration record makes the cause easier to identify.
Define rollback in advance. A rollback may mean restoring the previous DNS record, re-enabling the old application, or reversing a load-balancer target. Keep the old environment unchanged until validation is complete, and document the data implications of reverting when the site accepts new writes.
When to revisit
Revisit this checklist before every hosting move, domain change, platform rebuild, major runtime upgrade, or expected traffic event. Review it at least quarterly if the site is business-critical, and use a lighter monthly check to confirm that backups, DNS ownership, access credentials, monitoring, and rollback materials still exist.
Update the runbook whenever a provider changes its hosting panel, migration tool, supported runtime, database compatibility, SSL workflow, DNS interface, or backup format. Also revise it after a failed migration, an incident, an email change, or the addition of a new external integration.
Before the next move, copy this compact record into your change system:
- Scope: domain, application, database, email, integrations, and excluded services.
- Source and destination: hosts, runtime versions, database versions, and access owners.
- Backups: location, timestamp, restore test result, and retention date.
- DNS plan: records to change, previous values, TTL, and responsible operator.
- Test evidence: URLs, forms, transactions, email checks, commands, and observed results.
- Cutover: planned time, communication list, monitoring window, and go/no-go decision.
- Rollback: exact reversal steps, trigger conditions, data handling, and decision owner.
- Closeout: monitoring results, unresolved issues, old-host retirement date, and next review date.
A zero-downtime website migration is best treated as a measured deployment. Prepare the destination, verify the data, protect domain and email dependencies, change traffic deliberately, and keep evidence of each checkpoint. That process makes the next move faster, safer, and easier to review.