Host File Editing in Mac OSX Lion+ and Previous Versions

OSX 10.7 Lion+: Utilities>Terminal>New Terminal Window: sudo nano /private/etc/hosts Move cursor to end and enter to get an extra blank line of space Append your new mappings (e.g. 127.0.0.1 - Local Host) Hit Ctrl+O to save Hit Enter to select name on bottom Hit Ctrl+X to close the editor Flush Cache: sudo dscacheutil -flushcache Restart … Continue reading Host File Editing in Mac OSX Lion+ and Previous Versions

Advertisements