January 11th, 2010
This may not be so useful for everyone, but i’m sure i’m not the only one who has searched for an answer to this question. Whether it may be for easy access to your favorite website or some kind of home development project editing your Macs hosts file is easy as ever. Ever done it on a Windows machine? It’s pretty much the same thing. Here is how we do it.
Go to Finder -> Go -> Go to Folder.. and type in “/etc” without the quotes obviously. Once you hit enter a normal Finder window will appear and you will see a hosts file. Edit it just as you would in Windows. IP of the address you would like to associate with the name following it. Save, and you’re set!