Knowledge Base

How to Fix Domain Showing Old Website After Migration

How to Fix Domain Showing Old Website After Migration

Common Causes

1- A Record Still Pointing to Old Server

If your DNS A record still contains the old server IP, your domain will load the previous hosting environment.

2- Cached DNS on Your Device

Your computer or router may still store old DNS information, causing your browser to load outdated content.

3- Cached Content on CDN or Cloudflare

If your domain uses a CDN (such as Cloudflare), old cached content may continue to load even after migration.

4- Browser Cache Storing Old Pages

Your browser may store old versions of your website and load them instead of the updated version.

5- DNS Propagation Delay

When DNS changes are applied, they take time (up to 48 hours) to update worldwide.

How to Fix It

  1. Verify the A Record
  2. Log in to your DNS Management panel.
  3. Ensure the A record for your domain points to your new server IP address.
  4. Delete any old or duplicate A records.
  5. Disable Cache on CDN/Cloudflare

If your website uses Cloudflare:

  • Pause Cloudflare temporarily
  • OR switch affected DNS entries to DNS Only (Gray Cloud)
  • Clear Cloudflare cache from the dashboard

This ensures Cloudflare stops serving the old content.

---> Clear Browser Cache

Try any of the following:

  • Hard refresh (Windows: Ctrl + F5 / macOS: Cmd + Shift + R)
  • Open your site in an incognito/private window
  • Clear browser cache completely

This forces the browser to load the latest version.

---> Flush Local DNS

Clear outdated DNS information stored on your device.

Examples:

  • Windows: ipconfig /flushdns
  • macOS: sudo dscacheutil -flushcache
  • Chrome: Visit chrome://net-internals/#dns → Clear host cache

---> Wait for DNS Propagation

DNS records can take:

  • 4–8 hours for A record changes
  • 24–48 hours for nameserver changes

Different ISPs update at different speeds, so some users may still see the old site temporarily.

 

---> Modify the Hosts File (Temporary Solution)

If you need to access the new website immediately:

  • Edit your computer’s hosts file
  • Add your domain name + the new server IP

This forces your device to load the new server directly.

Note:
This only affects your device and does not change DNS globally.

Please rate this article to help us improve our Knowledge Base.

0 0