Procedure
- ♦ Open the /etc/hosts file in the editor of your choice. Make one entry per host on a separate line similar to the following:
127.0.0.1 localhost 192.0.2.1 s1.example.com s1 # comment 192.0.2.2 s2.example.com s2 # comment
127.0.0.1 localhost 192.0.2.1 s1.example.com s1 # comment 192.0.2.2 s2.example.com s2 # comment