Before changing DNS for a WordPress migration, preview the new host using your real domain and confirm you’re actually reaching the new server. Check HTTPS, recent database records, media, and at least one workflow that writes data. Then verify which DNS records need to change and decide how you’ll handle writes during the switch. A working homepage is a useful clue. It is not a release decision.
This checklist assumes you’re keeping the same domain and moving to a different host. If you’re also changing the domain, plan URL updates and old-domain redirects separately; a hosting cutover doesn’t test either one.
Preview the new host without moving public traffic
- Get the destination details. Ask the new host for the IP address or preview method and confirm that the site is configured to serve your real domain. Include both the bare domain and
wwwif visitors can use either, even if one only redirects. - Use the real hostname for testing. For a directly reachable server, temporarily map both names to the new IP in your computer’s hosts file. This affects only your computer. Open the site in a fresh browser session and use the Network panel or the destination’s access logs to confirm where the request went. A temporary preview URL is useful for checking content, but it can hide problems with redirects, login cookies, and HTTPS.
- Check HTTPS and the first redirect. Open both hostnames over HTTPS and verify that the certificate is trusted and covers the name you entered. Confirm that HTTP redirects to HTTPS and that the alternate hostname lands on the canonical one without looping. A redirect does not excuse a certificate error: HTTPS has to connect before the server can redirect you.
For a quick check without editing your hosts file, run curl -sS -D - -o /dev/null --resolve example.com:443:203.0.113.10 in a macOS or Linux terminal. Replace the example domain and IP with your own. This sends one HTTPS request to the specified IP while keeping the real hostname for certificate validation, and prints the response headers without following redirects. Check the status and any Location header. Repeat for www if applicable.

If a CDN or proxy serves public HTTPS, a direct-origin test does not validate the CDN certificate, caching, or redirects. Some origins aren’t meant to accept direct browser traffic at all. Use the provider’s supported preview or validation process, and confirm both the public HTTPS configuration and the proxy’s connection to the new origin. Don’t bypass certificate warnings to mark the check as passed.
Prove the restored site can read and write
A backup is an input, not a running WordPress site. If you extracted a .wpress archive, the extracted files alone don’t restore a functioning site: the database must also be imported and WordPress configured to use it. Even a successful restore needs a freshness check. Yesterday’s database can render today’s homepage perfectly.
- Compare recent records. On the destination, sign in to
wp-adminand look for a recent post revision, submission, account, or order you can also identify on the source. Compare timestamps or record IDs where available. Note what arrived on the source after the backup so you know what the final sync must include. - Sample real URLs and media. Open a nested page, an older post, and a recent upload. Check that images load from the intended location rather than quietly relying on the old host. Open one of the image requests in the browser’s Network panel if you’re unsure where it came from.
- Test one critical write from start to finish. Save a private draft and reload it. If the site relies on a contact form, submit a clearly labeled test to an approved test inbox and verify both delivery and any entry the plugin is configured to store. For a shop or membership site, use the provider’s sandbox or another isolated test flow. Don’t trigger real charges, fulfillment, or customer notifications from the preview.
Check anything that runs without a browser, too: scheduled jobs, inbound webhooks, and outbound integrations. Your hosts-file override doesn’t apply to a payment provider or a mail service. Verify those paths with a supported test endpoint or sandbox where possible. For each critical workflow that can only be verified live, assign someone to test it immediately after cutover and agree on what failure would stop the launch.
Prepare the DNS change and the final data sync
- Record the current DNS settings. Save the old values and identify the authoritative DNS provider. Note the records for the bare domain and
www, including anyAAAArecord that could still send IPv6 visitors to the old host. If you keep a CDN in front, the change may be to its origin settings rather than public DNS. - Keep unrelated services intact. Leave mail records and verification TXT records alone unless the move requires changes. Check whether an MX record points to the website hostname: if it does, changing that hostname’s address can affect mail even if the MX record itself stays untouched. A web hosting move usually doesn’t require switching nameservers.
- Plan for cached answers. If your DNS provider allows it, lower the relevant record’s TTL ahead of time and allow at least the previous TTL to elapse before cutover. This helps shorten the overlap; it doesn’t make the switch simultaneous. Some visitors can still reach the old server while others reach the new one.
- Choose one place for new writes. Pause edits, orders, or submissions as appropriate, then take a fresh backup and sync the final database changes and uploads. Verify a recent record on the destination before opening it for writes. During the overlap, keep the old site from accepting changes. For a site that can’t pause writes, arrange a host-supported cutover that keeps a single writable backend rather than assuming two databases will merge later.
Troubleshoot before you give the go-ahead
- The preview looks fine, but you still see the old server. Check both hostnames and the first redirect. A hosts-file entry for the bare domain won’t catch a redirect to
wwwunless that name is mapped too. Confirm the hit in the new host’s access logs before trusting the preview. - The homepage works, but posts return 404 errors. Confirm the posts exist in
wp-admin. If they do, check the destination’s permalink and server rewrite configuration. Saving the existing settings under Settings → Permalinks can refresh WordPress rewrite rules, but it won’t repair missing Nginx routing; ask the host to verify it. - Some visitors still reach the old site after the switch. Compare the authoritative DNS answer with a public resolver’s answer for both hostnames and check both IPv4 and IPv6. If DNS answers are correct but the content is stale, check the CDN’s origin and cache before changing records again.
Make the switch when the destination passes the checks, the final sync is verified, and someone is available to watch the cutover. Remove your local override and retest through public DNS from a separate network. Keep the old host and backups available until traffic and critical workflows are stable. If you need to roll back after the new site has accepted writes, pause them and reconcile that data before sending visitors back. DNS can restore a route; it can’t restore an order.