HostNesta.com

Knowledgebase

Can I view my site using domain name before DNS propagation?

To access the website before its domain name starts resolving to the new IP address, please follow the following steps: (while you access the website from a Windows PC)

You can setup a HOSTS file entry in the "hosts" file to view the web site. This file is a standard windows file. You can find it in the path below, depending on your windows:

Windows 95/98/Me
c:/windows/hosts 

Windows NT/2000
c:/winnt/system32/drivers/etc/hosts 

Windows XP
c:/windows/system32/drivers/etc/hosts
or
c:/winnt/system32/drivers/etc/hosts 

STEPS:

1) Open this file in Notepad and

2) Add this line to it:

IP www.yourdomain.com

(where IP is the IP address of your shared server)

3) Save it

4) Open your browser and type the complete URL www.yourdomain.com. It should work fine and bring you the main page (index.html etc.) from public_html directory. 

NOTE: Once the domain name is ready, you should edit this file and remove the line above.

Please also note that "hosts" is a simple text file without any .txt or any extension. It is a standard way to bypass the DNS servers for testing and debugging.

Was this answer helpful?

 Print this Article

Also Read

How do I update my DNS entries at my registrar?

Often, the most timely process in getting set up will be if you are transferring your domain name...

Which top-level domains do you host?

You can use our hosting services to host any top-level domain that you own.

What if the domain name I want is already taken?

If the name you would like has already been registered by another company, you will want to be...

Does registering a domain mean I can publish my site right away?

Not just yet, but you're almost there. When you buy a domain you have the sole rights to that...

How do I get a parked or addon (multi-hosted) domain setup?

You can park a domain in your Cpanel control panel under the "Parked Domains" link. A parked...

Powered by WHMCompleteSolution