1. Open up your terminal application
2. Type in “sudo pico /etc/hosts”
3. Type in your administration password
4. Use your arrow keys to maneuver the cursor and type in whatever entries you are wanting to put in your hosts file
5. Once you are done, hit Control-o
6. and then hit Control-x