Configuring name resolution on a Linux or OS/X system
- Log in to the client system as root or as a user with sudo privileges.
- In a text editor, Open the /etc/hosts file.
At the end of the file, add a name resolution entry.
For more information, see Name resolution syntax.
- Save the file, and then close the editor.