How do I clear DNS cache?


0

Imagine, you are running a site and had to migrate from one server to another for some reason. In such a situation, you need to modify name servers of your domain. Your site should normally resolve from the new server within 3-5 hours.

Sometimes, you will not be able to access the site even after few days. But visitors will be able to access your site without any problem from other locations.

The problem is with your PC’s local DNS as it might cache the old DNS info and prohibit you from accessing the site from new server.

In order to fix the problem, run the following command from the command (DOS) prompt

IPCONFIG /FLUSHDNS  

To access command prompt, click the Start menu and enter cmd in the search box.

The above command will most likely resolve the problem. You can also clear the browser cache but it is not required in most instances.


Like it? Share with your friends!

0

What's Your Reaction?

hate hate
0
hate
confused confused
0
confused
fail fail
0
fail
fun fun
0
fun
geeky geeky
0
geeky
love love
0
love
lol lol
0
lol
omg omg
0
omg
win win
0
win
Anand Narayanaswamy
Anand Narayanaswamy is the editor-in-chief of Learnxpress. He was a Microsoft Most Valuable Professional (MVP) for a period of 9 years. He is a ASPInsider based in Trivandrum, Kerala State, India. Anand is the author of Community Server Quickly published by Packt Publishing.

0 Comments

Your email address will not be published. Required fields are marked *