Friday, March 14, 2014

Hosts file in Windows

# For Windows 9x and ME place this file at "C:\Windows\hosts"
# For NT, Win2K and XP use "C:\windows\system32\drivers\etc\hosts"
# or "C:\winnt\system32\drivers\etc\hosts"
# For Windows 7 and Vista use "C:\windows\system32\drivers\etc\hosts"
# or "%systemroot%\system32\drivers\etc\hosts"
# You may have to use Notepad and "Run as Administrator"
# For Linux, Unix, or OS X place this file at "/etc/hosts". You will
# require root access to do this. Saving this file to "~/hosts" will
# allow you to run something like "sudo cp ~/hosts /etc/hosts".
# Ubuntu users who experience trouble with apt-get should consult
# http://ubuntuforums.org/archive/index.php/t-613521.html
# For OS/2 copy the file to "%ETC%\HOSTS" and in the CONFIG.SYS file,
# ensure that the line "SET USE_HOSTS_FIRST=1" is included.
# For BeOS place it at "/boot/beos/etc/hosts"
# On a Netware system, the location is System\etc\hosts"

 

#<localhost>
127.0.0.1 localhost
127.0.0.1 localhost.localdomain
255.255.255.255 broadcasthost
::1 localhost
127.0.0.1 local
fe80::1%lo0 localhost
#</localhost>

No comments:

Post a Comment