-
All replies
-
Helpful answers
-
Feb 26, 2011 6:18 AM in response to ladiesmenby BobHarris,The /etc/hosts file is like every other Unix system.
Start an Applications -> Utilities -> Terminal session
sudo nano /etc/hosts
Add your entries, and leave the existing stuff alone. Maybe make a backup copy to be safe. -
Feb 26, 2011 10:34 AM in response to ladiesmenby rccharles,When you outgrow nano, try textwrangler.
http://www.barebones.com/products/textwrangler/
be sure to set line ends to unix lf.
if you install the textwrangler command line additions, I assume you can do:
sudo edit /etc/hosts
--------
Here is the Unix command reference book. Could not find a more current version when I last looked.
Mac OS X Tiger in a Nutshell: A Desktop Quick Reference (In a Nutshell (O'Reilly))
http://www.amazon.com/Mac-OS-Tiger-Nutshell-Reference/dp/0596009437/ref=sr_1_4?s =books&ie=UTF8&qid=1285174595&sr=1-4
the book
Robert -
Jan 16, 2016 2:35 AM in response to BobHarrisby Biebiene,I could use the server of mij new webhostserver to develop my website offline. I had to change the hostfile in the terminal of my Mac. All well. But now is the new site online and normally you have to change back, or delete the temporary hostfile. But in the terminal I don't see the data I filled in. Is everything now ok or do I have to do something........