How to Resolve error 404 message (How to Flush DNS Cache)
Error 404 and dns cache Explained
DNS cache is responsible for storing the IP address locations of web servers containing recently viewed web pages. However, you will be unable to access these web pages if the location of the web server changes before the entry in your DNS cache updates. This is one of the major causes of HTTP 404, 404 Not Found and 404 error message being displayed while trying to access a website.
The simple solution to this problem is to remove the old and inaccurate DNS information by flushing your DNS cache. Once this is done, your computer will query nameservers for the new DNS information and update its cache.
How to flush your DNS cache
On your keyboard, press Win+R to open the RUN Window. Type cmd and press ok.
Then run the following command:
If the command succeeds, the system returns the following message:
Windows IP configuration successfully flushed the DNS Resolver Cache.
Press Win+X to open the WinX menu. Click Windows PowerShell (Admin) and run the following command:
P.S. The above methods are for users running Windows 10 Operating System. In the case of Windows 8 and below, locate Command Prompt in programs window, right-click it and select “Run as Administrator”.