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.
  • Email, SSL
  • 2 Users Found This Useful
Was this answer helpful?

Related Articles

Do you host International domain names?

Yes, we do host international domain names. All you need to do is to register the domain name...

Who owns the Domain Name I register?

You become the owner of the domain name. You will have full control and authority over it.

Can I have multiple domains pointing to the front page of my site?

Yes, you can have as many domain names pointing to the front page of your account as you like....

How can I check the status of my domain name purchase or transfer?

New domain registrations will only be processed after you pay for them. Domain transfers will...

Which domain names can be hosted by HostNesta?

We can host any domain name, as long as you can point the DNS to us.