Free Web Hosting Forum
Go Back   Free Web Hosting Forum > News and General Information > FAQ
Reload this Page Howto view your site before DNS update
Reply
 
Thread Tools Display Modes
(#1 (permalink))
Old
Administrator
admin has disabled reputation
 
Posts: 640
Join Date: Apr 2008
Default Howto view your site before updating DNS (nameservers) - 01-30-2009, 02:20 PM

Have you uploaded your website, but scared of updating DNS, because you don't actually know will your website work fine here?

There is one cool way to check it, even without updating DNS at all.

Navigate to the directory (simply paste this line to the internet explorer or windows explorer address bar)

Quote:
%SystemRoot%\system32\drivers\etc\
You should see file named "hosts", so open this file with notepad.
Now you need to get your server IP address, check for it on members area.

Lets say you are hosted in Server23 and your server IP is 216.108.235.72
So all you need to do now is to paste these 2 lines to the "hosts" file:

Code:
216.108.235.72         yourdomain.com
216.108.235.72         www.yourdomain.com
That's it, now your computer will think that domain is already hosted on 216.108.235.72, so you can do basic testing and then, finally update nameservers.

Important: do not forget to remove this line from hosts file after you update DNS.

For Linux Users: If you are a Linux user, the hosts file is located at /etc/hosts


Aurimas,
Head Admin & CEO
www.000webhost.com
Reply With Quote
Sponsored Links
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.5.2
vBulletin Skin developed by: vBStyles.com