How to See Your Blog Before the DNS is Updated

Once you buy a new domain and change the Namer Servers to the one of your host, it could take up to 48 hours for the DNS migration.

Waiting is not our style. Here is one way how you could start working directly.

When you type in a site into your browser (as first the browser approaches the DNS server. The DNS server provides the ip address of the host where the site is hosted.

View Your Website Before DNS Migration

The reason why you cannot see your site before the DNS is updated is because the browser doesn’t have the ip address of your host. Most likely, your site would be on shared hosting. So typing in the ip address directly into your browser won’t work either. (Here is an interesting wallpaper on How Internet Works)

To get around this, you could use the Hosts File on your computer to manually specify the ip address. For most of you, the host file would be in:


i.e. for Windows NT onwards, including Windows XP, Vista and Windows 7. If its not there, or if you are on a MAC, refer to this page to find your hosts file.

Open the file named hosts in a notepad. You have to manually specify the ip address of your site. Add it as the last line to the file, in the following format:



Save the file. The browser first checks the host file for the ip address, and since you have given it there, you will be taken to your website.

Obviously, your site will be available only one the computer where the hosts file is specified. Others will have to wait till the DNS change takes place. But you can start working on the back-end right away.

Related: Visit your Favorite Websites with a Single Character

Hello, I am Arun Basil Lal. Thank you for reading!

I am a WordPress product developer and creator of Image Attributes Pro. I am passionate about solving problems and travelling the world.

Divi WordPress Theme - My Review

Divi WordPress Theme
Divi is a WordPress theme that web designers do not want you to know. It comes with a drag-and-drop theme builder. You can build beautiful looking unique websites without touching a line of code. Just choose from one of the many pre-made layouts, or pick elements and arrange them any way you like.

Divi is every WordPress developer's wet dream. Surprise your clients with neat responsive websites and have fun building them.

Divi comes from Elegant Themes. If you enjoy building websites, you *need* an Elegant Themes membership. 87 beautiful themes and 5 plugins for the cost of less than a candy-bar each!

Note: I am an avid user of Divi myself and this is a honest review. I wouldn't recommend something that I do not personally find amazing.


  1. Rishi says:

    It’s been a while, Arun! Hope you’ve been doing well buddy.

    This is a pretty nifty trick. I remember purchasing my international domain name (.md) on a Friday and having to wait till the following Monday for the migration to complete… that was a very boring weekend. 😀

  2. Jijo @ Blogging Tips says:

    Really useful Trick. Thanks for sharing.

    Arun.. It’s me Jijo.. we met each other at the Lunch Time.
    BTW Don’t forget to check out my Blog This time 😉
    Keep in touch

  3. Amal Roy says:

    Thanks bro. Very useful.

  4. S.Pradeep Kumar says:

    I learned something new today. Thanks Arun.

    I think some hosts have this feature, you can see your blog’s preview before the DNS is updated! Am I wrong? or.. 😀

    • Some hosts yes, I have seen that. But if you have tried using them, you cant login to your wordpress dashboard using their preview (thinks so).

      Good to hear that 🙂

  5. Rohith VR says:

    nice one its very helpful tricks.. thanks for the sharing..

Leave a Reply

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