Page 1 of 1
host file on Max OS X
Posted: Wed Oct 18, 2006 11:39 am
by Burrito
how can I set up a host file on mac os X so that I can manually point a domain to a specific IP address?
the os version is 10.4.8?
thanks,
Burr
Posted: Wed Oct 18, 2006 11:48 am
by Chris Corbyn
Been a while since I've booted into OSX but isn't it just in /etc/hosts ?
EDIT | Or is that /private/etc/hosts ?
Posted: Wed Oct 18, 2006 11:59 am
by Burrito
I don't think so. I just searched the whole computer for 'etc' and it found two folders whose contents are just files that say like GMT +11 etc....(some kind of time zone stuff it appears)....nothing regarding a host file that I could see.
edit: I also did a search for host and found a bunch of files that start with 'host' but nothing that resembles a real 'hosts' file

Posted: Wed Oct 18, 2006 12:03 pm
by Burrito
I found this:
http://support.microsoft.com/kb/294437
....yes I'm quite aware of the irony that this is a MS KB article for a mac.....
I tried following those instructions and I get stuck on number 2...I don't see a 'domain' menu or a 'security' option anywhere....grrr!

Posted: Wed Oct 18, 2006 12:10 pm
by Burrito
wait d11, you're right...it is in there.
now for some reason though it won't let me change the permissions on the file to edit it ... GRRRRRRRRRR!
Posted: Wed Oct 18, 2006 12:24 pm
by Burrito
ok got this working.
d11 you were exactly right.
/private/etc/hosts
thanks