Learning the Mac OS X Terminal: Part 1
Subject:   /etc/hosts Not Used?
Date:   2002-01-04 13:23:05
From:   chris_stone
Response to: /etc/hosts Not Used?

Yes, OS X looks at its NetInfo database instead of in /etc for this and other info.

The easiest way to get at NetInfo is with the NetInfo Manager GUI app found in /Applications/Utilities.

Use it to add a host by adding a new record to the "machines" directory. Follow the entry for "localhost" as a guide.