How do I clear DNS cache?

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.

READ  How to install a new theme in Windows 7?

Leave a Reply

Your email address will not be published.