Users Online

We have 131 guests online
Editing Host File Windows PDF Print E-mail
Written by Zack MIlls   
Friday, 18 June 2010 12:43


may be included; they are indicated by a hash character (#) in the first position of such lines. For example,

#This is an example of the hosts file  localhost loopback

The location of the hosts file in the file system hierarchy of operating systems varies.[2]

Operating SystemVersion(s)Location
Windows 9598Me %WinDir%\
NT2000XP2003Vista7 %SystemRoot%\system32\drivers\etc\ (see note)
Windows Mobile Registry key under \HKEY_LOCAL_MACHINE\Comm\Tcpip\Hosts
Macintosh 9 and earlier System Folder: Preferences or System folder
Mac OS XiOS /private/etc/hosts or /etc/hosts (/etc on Mac OS X is a symbolic link to /private/etc)
Most Unix and Unix-like OSes POSIX /etc/hosts[3]
Novell NetWare SYS:etc\hosts
OS/2eComStation "bootdrive":\mptn\etc\
Symbian Symbian OS 6.1-9.0 C:\system\data\hosts
Symbian OS 9.1+ C:\private\10000882\hosts (AllFiles capable only)
Android /system/etc/hosts