Created
September 10, 2010 19:47
-
-
Save davej/574251 to your computer and use it in GitHub Desktop.
Redirecting DNS by editing /etc/hosts on Mac OS X
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# /etc/hosts | |
127.0.0.1 local.domain | |
123.123.123.123 www.domain.com | |
# In the Mac OS X terminal type: | |
dscacheutil -flushcache |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment