DNS TTL explained for a planned website move
Understand DNS TTL before a website move, allow for cached answers and plan the preparation, overlap and verification around the destination change.
DNS TTL tells a resolver how long it may cache a DNS record before looking it up again. For a planned website move, the useful question is how previously cached answers will affect visitors during the change. Lowering a setting just before switching the destination does not rewrite answers that were already cached under the earlier setting.
Treat TTL as one part of a migration plan. You still need a working destination, a record of the current configuration and a way to observe both old and new services. This guide explains how to discuss the timing with your provider without assuming that every visitor changes destination at the same instant.
Understand the answer being cached
When someone opens your website, DNS helps their device find the service associated with its name. A resolver may retain an answer and reuse it for a period. TTL is expressed as a duration for that cached information, rather than a promise about how long your migration will take.
Different records have their own purposes. A website address record and a mail-routing record are not interchangeable. Identify the particular names and records involved before changing anything, especially if your website and email use different services.
If these distinctions are unfamiliar, begin with how DNS points a domain to a website. Understanding which service a record controls is more useful than copying settings from an unrelated migration example.
Change the timing before the destination
For a planned move, ask the DNS operator whether lowering the relevant TTL in advance would help. The old cached duration matters. A resolver holding the earlier answer will not learn about the lower value until it refreshes that answer.
In a hypothetical example, a record previously cached for several hours may remain in use after an editor selects a much shorter setting. That is why a migration plan should include the preparation change and the later destination change as separate steps.
Check the provider's actual controls. Some managed or proxied records have fixed or automatic behaviour, and a displayed setting may not cover every part of the route. Record what the provider supports rather than assuming all DNS services expose the same choices.
Prepare the new website independently
Before changing public DNS, test the destination through a supported preview method. Confirm that it serves the correct site, handles the intended domain securely and can reach its database and other dependencies. A fast DNS change does not make an untested destination ready.
Agree what will happen to new content and submissions during the overlap. A website that accepts orders or edits may need a controlled transition so activity does not split between two independent copies. Lowering TTL cannot solve that application problem.
Use the checks in testing a new host before switching live traffic to create evidence of readiness. Keep a named person responsible for approving the destination before the DNS change begins.
Observe old and new routes during the switch
Expect an overlap while cached answers differ. Check the authoritative record and a selection of relevant resolver results, then test the actual website experience. A correct DNS answer alone does not confirm that forms, certificates and application requests work.
Avoid making several unrelated changes at the same time. If you change website records, email routing and nameservers together, it becomes harder to explain an unexpected result. Write down each intended change, its time and the observation that confirms it.
Be cautious about repeatedly changing records because one browser still shows the old website. Browser caches, content delivery settings and application caches can also affect what appears. Diagnose the route before turning one planned migration into several overlapping changes.
Keep a realistic rollback plan
Record the former values and decide when reverting them would be appropriate. A reversal also encounters caching, so it is not an instant undo button. Keep the old service available for a suitable overlap agreed with the people responsible for the migration.
If the new website has accepted data, consider that activity before switching back. Restoring an old destination can hide or strand new orders or messages. The rollback plan needs an application and data decision as well as a DNS instruction.
Email deserves its own check. The guide to moving a website without losing email helps separate mail continuity from the website cutover. Verify which records the move actually needs rather than editing the whole zone.
Restore ordinary settings after verification
After the new route is stable, review any temporary TTL change with the DNS operator. A shorter duration causes resolvers to refresh information more often. Whether a different value is useful depends on the service and its operational needs, not on a universal "best" number.
Keep the migration record with the hosting handover. Include the final records, who manages them, what was tested and when the old service can be retired. Remove temporary access and avoid leaving an obsolete hosting account as an undocumented dependency.
The result should be a controlled move with understandable observations. TTL helps you plan the caching interval; readiness checks, data handling and clear ownership determine whether the overall transition is successful.
Frequently asked questions
Does a lower DNS TTL move every visitor immediately?
No. Some resolvers may still hold answers cached under the previous value, and other parts of the website route can have their own caching behaviour.
Is changing nameservers the same as changing a website record?
No. Nameservers identify the authoritative DNS service, while individual records describe particular destinations or services. Confirm which operation the migration requires before changing either.
Can I use TTL as my only rollback plan?
No. Reverted records also take time to be refreshed, and the application may have accepted new data. Keep an agreed service overlap and a plan for that activity.
HELP US IMPROVE
Was this article useful?
Your feedback helps shape future coverage.