In this article I assume the user is familiar with the idea of a host name / domain name mapping. It is typically referred to as a "hosts" entry because the entry is made to a file usually called "hosts". I won't go into the details of what or why you might actually want to do this as it would require writing a document on how the Internet works, which is way beyond the scope of this simple HOW TO.
Setting up a mapping between an IP address and a host name can be accomplished in one of two ways. The first way may be easier for the average user while I find the second way simpler for me. Basically it would probably be easiest for any *nix (Unix, Linux, BSD, ...) familiar person.
Method 1:
- Login in as a user with "administer" privileges.
- Double-click your hard drive on the desktop.
- Go to "Applications / Utilities".
- Double-click "NetInfo Manager".
- Click the "lock" icon in the lower left corner of the window and provide the apropriate user name and password for admin privileges.
- Click on "machines" in the center column.
- Click the "new folder" icon.
- On the bottom half of the screen double-click on the entry in the value column on the same row as "name". It typically will read "new_directory".
- Change the value to the host name that you want (IE: www.mydomain.com)
- Click the "new folder" icon again and change the name to "serves". It should already be set to edit.
- Hit the [TAB] key to switch to the value column and type in "./local".
- Click the "new folder" icon again and enter "ip_address".
- Hit [TAB] and type in the IP address (IE: 192.168.1.1) to be used for this name.
- Click the "Domain | Save changes" menu item and then click the "update this copy" button.
- Repeat as many times as needed.
- Quit out of "NeInfo Manager".
Method 2 (for *nix people):
- Login as a user with
- Double-click your hard drive.
- Go to "Applications / Utilities".
- Double-click "Terminal".
- Type: sudo sh
- Enter your password.
- Type: vi /etc/hosts
- Being a *nix user going from here is the same as any other *nix system.
- Don't forget to logout and close the terminal application.














