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.
Recent comments
4 hours 15 min ago
10 hours 56 min ago
14 hours 47 min ago
16 hours 25 min ago
1 day 51 min ago
1 day 10 hours ago
1 day 11 hours ago
1 day 14 hours ago
1 day 19 hours ago
1 day 19 hours ago