Still Seeing the Old Website? How to Flush Your DNS Cache

Admin
Written by Admin
Feb 06, 2026 2 min read
Still Seeing the Old Website? How to Flush Your DNS Cache

You moved your website to a new server. You checked the global propagation, and it says "Updated." You ask your friend to check, and they see the new site.

But on your computer? You are still staring at the old version.

Before you pull your hair out, try this: Flush your DNS Cache.

What is "Local DNS Cache"?

Your computer is lazy (in a good way). When you visit google.com, your computer saves the IP address in a hidden notebook called the "Cache."

Next time you visit Google, your computer doesn't ask the internet for directions. It just looks in its notebook. This makes browsing faster.

The Problem: When you change your website hosting, your computer doesn't know. It keeps reading the old address from its notebook until that note expires. Flushing the cache forces your computer to burn the notebook and ask for fresh directions.

How to Flush DNS on Windows

This looks like hacking, but it is very safe.

  1. Press the Windows Key on your keyboard.
  2. Type cmd and press Enter (this opens the Command Prompt).
  3. Type this exact command and hit Enter:
ipconfig /flushdns

If it worked, you will see a message: "Successfully flushed the DNS Resolver Cache."

How to Flush DNS on Mac (macOS)

Macs are a bit stricter, so you need "Superuser" (sudo) permission.

  1. Press Command + Space and type Terminal.
  2. Copy and paste this command:
sudo dscacheutil -flushcache; sudo killall -HUP mDNSResponder

It will ask for your computer password. Type it (you won't see the letters moving) and press Enter.

Don't Forget the Browser!

Sometimes it's not your computer; it's Chrome itself.

The quickest way to test this is to open an Incognito Window (Ctrl + Shift + N). Incognito mode doesn't use the browser cache. If the new site loads there, you just need to clear your browsing history.

Conclusion

Website changes can be frustrating. But usually, the server isn't broken—your computer is just remembering the past. A quick flush is the first step in troubleshooting any connection issue.

Still having trouble connecting? https://findinfo.io/tool/dns-lookup Verify your server status here.

Share this article: