All posts

Blog

What Is DNS Propagation? Why Your Site Still Shows the Old Version

Illustrated cover for the Domains & DNS guide "What Is DNS Propagation? Why Your Site Still Shows the Old Version"

You've changed your nameservers or updated an A record. Your colleague sees the new site, but you still see the old one. Or the new site works on your phone but not your laptop. Nothing is broken: this is DNS propagation, and it's completely normal.

What is DNS propagation?

When anyone visits a website, their device asks a DNS resolver, usually run by their internet provider or a public DNS service, where the domain lives. To save time, resolvers cache the answer for a while.

After you change a record, resolvers that already cached the old answer keep using it until their cache expires. "Propagation" is really the time it takes for all those caches around the world to expire and fetch the new answer.

How long does it take?

It depends on what you changed:

  • Individual DNS records (A, CNAME, MX, TXT): usually minutes to a few hours, depending on the record's TTL.
  • Nameserver changes: often visible within an hour or two, but can take up to 24 to 48 hours to reach everyone, because the registry and resolvers cache nameserver information for longer.

During this time, it's normal for some visitors to see the old host and some the new.

What is TTL?

TTL (time to live) is a number on each DNS record that tells resolvers how many seconds they can cache it.

  • TTL 300 = 5 minutes
  • TTL 3600 = 1 hour
  • TTL 86400 = 1 day

If a record had a TTL of 86400 when someone's resolver cached it, that resolver may keep the old answer for up to a day after you change it.

Tip: lower your TTL before a planned change

If you're planning a move:

  1. A day or two before, lower the TTL on the records you'll change to 300 seconds.
  2. Make the change. Caches now expire within about five minutes.
  3. Afterwards, raise the TTL back up to an hour or more.

This doesn't speed up nameserver changes much, but it makes record changes nearly instant.

Why you might see the old site even after propagation

Several other caches can hold onto the old version:

  • Your browser cache. Try a private window or a different browser.
  • Your computer's DNS cache.
  • Windows: open Command Prompt and run ipconfig /flushdns
  • macOS: run sudo dscacheutil -flushcache; sudo killall -HUP mDNSResponder
  • Your router, which may cache DNS. Restarting it clears it.
  • Your site's own cache, such as a caching plugin or CDN, on the old or new server.

A quick test: load your site on your phone using mobile data (not Wi-Fi). It uses a different resolver, so it often shows the new site sooner.

How to check propagation

  • Online DNS checkers query resolvers in many countries and show which answer each one has. Search for "DNS propagation checker".
  • Command line:
nslookup yourdomain.com
nslookup yourdomain.com 8.8.8.8

The second command asks a specific public resolver, which is useful for comparing answers.

If most locations show your new IP, propagation is nearly done.

What to do during propagation

Keep your old hosting active

Don't cancel your old hosting until the move is complete and you've confirmed everything works on the new host. During propagation, some visitors still reach the old server.

Avoid changing content on the old site

If you edit pages or take orders on the old site during the switch, those changes won't be on the new server. Freeze content changes, or plan the switch for a quiet time.

Watch your email

If you moved email, some messages may arrive at the old server for a short time. Check both mailboxes for a day or two, or have the old provider forward mail.

SSL may take a little longer

Free SSL certificates can only be issued once your domain points to the new host. It usually happens automatically within a few hours of propagation.

You can preview your site before DNS updates

Want to check your site on the new host before switching? You can temporarily edit your computer's hosts file to point your domain to the new server's IP. Only your computer sees the change. Remember to remove the line afterwards.

  • Windows: C:\Windows\System32\drivers\etc\hosts (edit as administrator)
  • macOS/Linux: /etc/hosts

Add a line like:

203.0.113.10 yourdomain.com www.yourdomain.com

(Use your real server IP.)

Frequently asked questions

Can I force propagation to finish faster?

Not for other people's caches. You can lower your TTL before a planned change, and clear caches on your own devices, but resolvers around the world will refresh in their own time.

Why does my phone show the new site but my laptop doesn't?

They're probably using different DNS resolvers, and one has refreshed its cache before the other. Flush your laptop's DNS cache or try a private browser window.

Does propagation affect email?

Yes, if you changed MX records or nameservers. For a short time, some mail may still go to the old server. Check both mailboxes for a day or two after the switch.

Is it safe to cancel my old host once my site loads on the new one?

Wait until checks from several locations show the new server, and allow up to 48 hours after a nameserver change. Then do a final check of your old mailboxes before cancelling.

The bottom line

DNS propagation is just caches catching up. Record changes are usually quick, especially if you lower the TTL first. Nameserver changes can take up to 24 to 48 hours. Keep your old hosting until you're sure, clear your local caches, and check from a few locations. For a full zero-downtime plan, read how to move your website to a new host without downtime.