If you have had a website for quite some time now and moved service providers or servers or installed SSL there are chances you might have seen a 404 error or a page saying your website’s IP address has changed. The most common reason you encounter this error is when the DNS propagation is not complete. What this means is as simple as your domain name is not translating to the correct IP on which the website works at the moment. To view your website you will have to wait for a couple of hours to a maximum of 72 hours. However, in this post I will walk you through using a file named “hosts” in your PC to bypass DNS propagation wait time. You can also use this method to view a live site on a staging/development server.
In our example, let us say our domain name is google.com and the IP is 188.8.131.52 (I’m using one of Yahoo’s IP that is working at the time of writing this blog).
1) Open your note page as an administrator:
2) Open hosts file:
3) Add the entries:
4) You are done!
Please note that this applies to every Operating System. However the path and the name of the hosts file might vary. The procedure and tools to edit the file may vary. I hope you will find this useful.
Subscribe to Learn, and you will receive an email with a link to each new ‘ How To’ Blog
article and each new Concise Webinar replay.