Try this if suddenly you cannot access a website

In the event that all of a sudden a working website seems to be inaccessible, you may want to try the following instead of restarting your computer. Go to the command prompt and run ipconfig /flushdns.

DNS or Domain Name System in full is the system that maps IP addresses to Internet addresses such as www.kongtechnology.com. A full explanation of how DNS works is beyond the scope of this tutorial, but check out wikipedia for more details if you are interested in learning.

By default, your computer keeps a DNS resolver cache which stores the IP addresses attached to frequently used Internet website addresses. This enables your system to bring up frequently accessed web addresses quickly, without the need to first consult a chain of DNS servers on the Internet to find out what IP address is associated with the website.

Sometimes a bad DNS entry can be cached due to many possible reasons. For example, when a server on the network has changed or has been moved to another IP address or network. When this happened, you will need to either flush the DNS cache to get rid of it, or wait up to 24 hours for it to be dropped from the cache automatically, or maybe can also restart your machine.

Now, how do you do the DNS flushing? Go to the command prompt and run:

C:\>ipconfig /flushdns

Flush DNS

That should get your DNS cache flushed into the drain! 🙂