Scotts Web Dev Banner
Did you notice... every article on this site has an associated video? Consider subscribing to Scotts Web Dev on YouTube! :)

How To Flush DNS Cache On Windows

Sometimes, you visit a URL or make changes to the URL and your browser has the DNS cached. So when you subsequently visit it, it goes to the old URL.

You can open in an incognito window. If this works, you’ll need to flush your DNS cache to get it to work in your main browser window.

Flush DNS Cache On Windows

Fortunately, flushing the DNS cache on windows is pretty easy to do if you know where to go.

Open your command prompt by holding down the windows key and tapping “R”. You can also search for “command prompt” in the windows search.

Once the run dialog is open, type the following and press enter:

ipconfig /flushdns

That’s it! Try your URL again and it will work.

There Are Minimal Side Effects

If you’re worried about messing up your system by running a command in the command prompt, have no fear! There aren’t any significant side effects to this command.

The only possible side effect is that sites will be slightly slower the next time you load them (and only the next time, not subsequent visits). Your computer has to save the DNS address again. But, this delay is so insignificant you will not even notice it.

Hope this was helpful!

See more system administration articles.