Host Records

by Aaron 08/04/10

DNS is the technology that is used to matchup host names (i.e. www.tapconsulting.com) with its IP address (i.e. 209.62.78.179).  Typically DNS servers on the internet are used when performing these lookups, but it possible to maintain a list of host names and their corresponding IP addresses.  Below are some basic instructions on how to edit your host file on your local workstation.

Windows

  1. Navigate to in c;/windows/system32/drivers/etc/
  2. Double click on hosts (note hosts is a file that does not have an extension)
  3. You'll now get the "Choose a program to open this file:" dialog, choose notepad

  4. Add the IP address hit tab twice and type the host name you want it map to.
  5. Press save and your done. Now your computer will have its own mapping to a specific host name without having to change external DNS records.

    If you have problems saving the file and you are running Windows Vista or Windows 7 you probably have UAC turned on, or you are not a local administrator.
    Instructions for turning off UAC: http://www.petri.co.il/disable_uac_in_windows_vista.htm

Mac OSX

http://support.apple.com/kb/TA27291?viewlocale=en_US

 

Tags:
Category:

blog comments powered by Disqus