The hosts file is a computer file used by an operating system to map hostnames to IP addresses.
On many operating systems, the host file content is used preferentially over other methods,
such as the Domain Name System (DNS). Unlike DNS, the hosts file is under the control of the local computer’s administrator
Locate the file “Hosts” on your computer:
Windows
Windows 95/98/Me c:\windows\hosts
Windows NT/2000/XP Pro c:\winnt\system32\drivers\etc\hosts
Windows XP Home c:\windows\system32\drivers\etc\hosts
Linux
/etc/hosts or /etc/host.conf or /etc/nsswitch.conf
Symbian
C:\system\data\hosts
Mac OS
/private/etc/hosts or /etc/hosts
In that file you can edit entry like this
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 localhost.localdomain localhost localhost yourlocaldomain.com , example.com
::1 localhost6.localdomain6 localhost6
192.168.2.200 intranet
directory.example.com 71.155.186.91




Social comments and analytics for this post…
This post was mentioned on Twitter by wordpressapi: How to use hosts file on Mac, Windows and Linux http://is.gd/7M7sZ...
Following reading you web site, I thought your content articles is good! I am very like your content articles and I’m really interested from the field of No cost trial. Your blog site is very valuable for me .I bookmarked your blog site! I trust you’ll behave far better from now on; I hope she understands that she cannot exepct a raise.
I don’t believe I’d ever be able to maintain up with maintaining a internet site like this! Amazing job, I absolutely hope you hold heading.