#1  
Old 6th February 2011, 23:57
portative portative is offline
Junior Member
 
Join Date: Feb 2011
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default website access

How do I access websites before the site goes live? Such as http://ipaddress/website
Reply With Quote
Sponsored Links
  #2  
Old 7th February 2011, 00:52
Toucan Toucan is offline
Senior Member
 
Join Date: Dec 2009
Posts: 479
Thanks: 78
Thanked 39 Times in 33 Posts
 
Default

Your browser would normally make a dns query for the domain and then would know through an A record which ip the site would be served from and then the server would serve the correct site depending on the header information sent.

Most computers are capable of bypassing the dns query if it already knows the correct ip. You can normally do this by editing the host file on your client computer.

In most windows editions you can normally find the hosts file in:
Code:
%SystemRoot%\system32\drivers\etc\
There are normally examples in this file that are commented out.
Just add your own entry and save the file.

For example:
Code:
98.78.188.2       yoursite.com
or
Code:
98.78.188.2      www.yoursite.com
The browser will differentiate between the subdomain of www or without.

This is a good method if you have access to the computer you want to preview from but not so good to explain to a client or otherwise.

There are other more complicated methods.
Reply With Quote
Reply

Bookmarks

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Webmin upgrade lishaw1968 Installation/Configuration 15 26th August 2010 15:23
Can't access to my website - after install problem pallermo Installation/Configuration 18 4th June 2010 13:29
Cannot access seconddomain website bobwdn Installation/Configuration 9 12th February 2009 19:02
access website via intranet resnostyle General 1 29th October 2006 19:03
Questions in regards to ISP-Server Setup - Ubuntu 5.10 "Breezy Badger" rbrantley HOWTO-Related Questions 16 10th April 2006 18:26


All times are GMT +2. The time now is 15:49.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.