Please provide examples of how this can be setup on client and server versions of various operating systems.
From serverfault
BrianLy
-
Assuming you're asking how to find the file (it will most likely exist already):
- In a Unix-like operating system (including Mac OS X and Linux), you'll typically find the
hostsfile in/etc/hosts. Note that Mac OS X does not by default show you theetcdirectory. You can show it in various ways, such as by choosing Go → Go to Folder… in Finder, and typing/etc. - In an NT-based operating system (including Windows XP and Windows Vista), the
etcdirectory is slightly hidden, in%WINDIR%\system32\drivers\, e.g.C:\WINDOWS\system32\drivers\etc\hosts.
From Sören Kuklau - In a Unix-like operating system (including Mac OS X and Linux), you'll typically find the
-
Hosts file on Linux/Unix:
/etc/hosts ip.nu.mb.er name1 name2Hosts file on Windows:
%WINDOWS%\System32\Drivers\etc\hosts (e.g. C:\Windows\System32\Drivers\etc\hosts) ip.nu.mb.er name1 name2From chaos
0 comments:
Post a Comment