You are here: Blog » Tutorials » Bypass DNS Propagation Delay

Bypass DNS Propagation Delay


DNS propagation is something that can annoyingly interfere with your development process on a website. Often times you will be developing a website using a temporary dev domain, and when it comes time to switch over to the live domain name, you end up waiting hours for DNS propagation to kick in. You are suddenly cut off from your project that you have been painstackingly working on for days, weeks, months, etc…

‘But what can you do?’ You might ask. Waiting for DNS propagation is unavoidable fact of life, isn’t it? Actually, no it’s not. You can bypass dns propagation delay in a few easy steps.

The first thing you have to do is locate your hosts file. That will depend on your operating system.

Locating Your Hosts File

The following instructions apply to Windows OS. Follow the instructions from the links above for the other operating systems.

You need to know the ip address that you want the domain name to point to.  You should be able to get this information from your hosting company.

Once you locate the hosts file, open it up in notepad or whichever text editor that you use. Let’s say that your new domain is, and your new ip address is If you want to also have the new domain work as, you should add the following two entries to the file:

Save the file and you’re done. You will now be able to access your website at the new domain name, effective immediately. Not that these changes only apply to your local machine. Everyone else will have to wait for DNS propagation in order to reach your website via your new domain. Once DNS propagation has completed, you should remove your changes to your hosts file as they are no longer needed.


This entry was posted in Tutorials and tagged , by .

Author: justin saad

Justin Saad is first and foremost a husband and a father of four. He is also a web developer and designer who has been making websites for over twenty years. His company is called The Motech Network and his website is In addition to building websites, Justin makes WordPress plugins and likes writing tutorials to help others learn about various aspects of web development.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">