developing smarter web applications...

Editing your hosts file on a Mac

This is a relatively common thing that I have to explain to clients.

It is often difficult to walk someone through changing their hosts file on a Mac, so I figured I would share the way I do it.

Open the Terminal:
Applications > Utilities > Terminial

Type the following and hit Enter:
sudo open -e /etc/hosts

This will open the hosts file in TextEdit. Make your changes and save...