It so happened to today that due to some issues with one of my websites, I had to get it moved from some server to another. After the moving of server was complete, I was not able to open the website. The website was opening on other computers, but only on my computer, it was redirecting to some temporary move page.
Clearly this problem is related with my computer. There can be three different reasons for the problem. So in this post I will share how I fixed the trouble.
I will share all three possible reasons and their solutions below:
Problem with DNS Server
In most of the cases when a website is not opening, the culprit can be wrong address returned by slow or sluggish DNS servers. So if you are facing problems with opening websites, see this tutorial to Update DNS Servers to open websites fast and without problems.
Problem With Hosts File
Host File is a simple and effective way of blocking websites. This is used (sometimes misused by viruses) to set a particular website to point to a blank or invalid address so it will never open. To solve this problem, see out tutorial on Fixing Host File When Websites Not Opening.
Outdated DNS Cache
Outdated or Obsolete DNS cache is the problem which I faced today. We have not written about this before, so I will give you steps on how to fix this problem.
Before this I want to tell you what is the problem. DNS cache is a small memory or table which every computer maintains. It will remember some of the website’s addressed in its DNS cache. So if a website is being moved or redirecting, and your computer has memorized that temporary address, it will keep opening that temporary page even if the website is up and running.
To solve this, you need to clear the DNS cache so that it clears all the outdated addresses it had stored. To do it follow these simple steps:
1. Press “Window Key + R” or Go to Start > Run, to launch “Run Prompt”. Type “cmd” and press ok to launch command prompt.
2. On Command Prompt, type “ipconfig /flushdns” and press enter. This will clear the obsolete DNS cache and websites will start opening from their correct address.
That is it. Simple, isn’t it? Please leave your suggestions and comments below.