Skip to content
Domain and DNS3 min read

Domain still shows the old site after the move

Domain still opens the old site after the move

Short answer

If the domain still shows the old site after a move, DNS still points to the old server somewhere: in a cache until the TTL runs out, at a DNS provider where the A record wasn't edited, or on your computer, browser or Cloudflare. Check the domain with `dig` against public DNS; if it returns the new server's IP, the problem is only a local cache.

ArabyHost teamLast updated: ShareWhatsAppXLinkedIn
Contents
  1. Start with one question: where does the domain point now?
  2. The most likely causes, in order
  3. How to confirm it’s fixed
  4. Prevention
  5. On ArabyHost

You moved your site to new hosting and changed DNS, yet you still see the old design or the old admin panel, or your client sees one version and you see another. A browser only learns where your site lives from DNS, and every layer between you and the server can keep the old answer for a while.

Start with one question: where does the domain point now?

Find the new server’s IP in cPanel (it’s on the home page), then ask public DNS, which your computer doesn’t influence:

dig +short example.com A @8.8.8.8
dig +short example.com A @1.1.1.1
dig +short NS example.com

Or use the DNS lookup tool. On Windows, use nslookup example.com 8.8.8.8.

The most likely causes, in order

1. DNS is still cached for its TTL

What you see: public DNS returns the new IP in some places and the old one in others.

Fix: wait. Every record has a TTL that says how long it’s cached; at 14400 seconds, some providers may keep the old answer for 4 hours. Don’t cancel the old hosting before propagation finishes.

2. The nameservers point to a different DNS provider

What you see: dig NS shows an old provider’s nameservers or Cloudflare, and dig A always returns the old IP.

Fix: edit DNS where it’s actually managed. If the nameservers belong to your registrar or Cloudflare, change the A record for the domain and www there to the new IP, or switch the nameservers to the new host’s in the registrar’s panel (guide). If they still haven’t changed after two days, see nameservers not updating.

3. A cache on your computer or in the browser

What you see: public DNS returns the new IP and a phone on mobile data shows the new site, but your computer shows the old one.

Fix: clear the DNS cache:

# Windows
ipconfig /flushdns
# macOS
sudo dscacheutil -flushcache; sudo killall -HUP mDNSResponder

In Chrome open chrome://net-internals/#dns, click Clear host cache, then try a private window. Also check that your hosts file has no old line for the domain.

4. Cloudflare or a CDN serves the old copy

Fix: in Cloudflare update the A record to the new IP, then purge the cache under Caching › Purge Everything.

5. The new site is itself old, or a service worker

What you see: the IP is right everywhere, and the page is still old.

Fix: make sure the uploaded files are the latest version and you didn’t restore an old backup. If the app is a PWA, a service worker in the browser serves cached files: in developer tools choose Application › Service workers › Unregister, then reload.

How to confirm it’s fixed

dig against 8.8.8.8 and 1.1.1.1 returns the new IP, and the new site shows in a private window and from another network. Put a temporary file such as new.txt on the new server and open it: if it loads, you’re definitely on the new server.

Prevention

  • Lower the TTL to 300 a day before moving, and raise it once things settle.
  • Move mail records (MX) with the site, and keep the old hosting for two days.
  • After propagation run AutoSSL; see SSL not active after pointing.

On ArabyHost

To point your domain to ArabyHost, use the nameservers ns1.arabicode.com and ns2.arabicode.com, or point the A record to the account IP shown in cPanel, as in the connect a domain guide. A free SSL certificate is issued automatically once the domain arrives, and you can ask for free migration help to move files, databases and email.

FAQ

How long until the new site shows after changing nameservers?

Usually minutes to a few hours, and up to 24 or 48 hours depending on TTLs and the registry. Changing only an A record usually shows once the old TTL has passed.

I see the new site and my client sees the old one. Is that normal?

Yes, during propagation, because each internet provider caches the answer for the TTL. Don't cancel the old hosting until all public DNS points to the new server, a day or two later.

Can I speed propagation up?

You can't clear internet providers' caches, but lowering the TTL to 300 seconds a day before the move makes the switch faster. After the move you can only clear the cache on your own devices.

Useful? Share it with someone who needs it:WhatsAppXLinkedIn

Read next

Ready to put your idea online?

Fast, isolated hosting, support that understands you, and an AI assistant that fixes problems with you.