Create a /etc/hosts entry
To add a host to the /etc/hosts file, enter the appropriate information in the following boxes:
- In the IP Number box, enter the IP address of the host using conventional "." (dot) notation.
- In the Official Host Name box, enter the name of the host. Host names may contain any alphanumeric character.
- In the Aliases box, enter the names of the aliases, if any, associated with the host. Separate multiple aliases with commas.
- In the Comment box, enter any comments associated with the host, preceded by the pound sign (#).
Click OK to record the new information and close the dialog box.
Click Revert to erase the new entries.
Click Cancel to close the dialog box without recording the new information.