MetaChat REGISTER   ||   LOGIN   ||   IMAGES ARE OFF   ||   RECENT COMMENTS




artphoto by splunge
artphoto by TheophileEscargot
artphoto by Kronos_to_Earth
artphoto by ethylene

Home

About

Search

Archives

Mecha Wiki

Metachat Eye

Emcee

IRC Channels

IRC FAQ


 RSS


Comment Feed:

RSS

29 May 2006

OSX Arghhhh. Help me. OSX Doesn't seem to have a hosts file. [More:]I'm in the process of moving hosts, and need to temporarily point a domain from the old host to the new host for testing purposes. I'd normally use the hosts file to do this, but for some reason OSX doesn't want to play.

I've added my new host to the netinfo manager and restarted lookupd, but ping still resolves to the old address.

Anyone? How the hell do you locally override domain names using OSX?
Perhaps this Apple help will shed some light.
posted by tommasz 29 May | 08:03
Yes it does; it's right there in /etc/hosts. It should be.
posted by Wolfdog 29 May | 08:10
Also, now that I think about it, you might also try using Cocktail or similar utility to delete system cache files. I'm not sure if this is cached or not.
posted by tommasz 29 May | 08:10
No, just edit your hosts file and sudo kill -HUP `cat /var/run/lookupd.pid` or sudo killall -HUP lookupd. Good to go.
posted by Wolfdog 29 May | 08:12
Yeaaahh.
Thanks people. The "no hosts" thing came from the internet, but once I got past that everything was fine.
posted by seanyboy 29 May | 10:38
Now to work out why php doesn't work.
*shakes fist*
Damn you rimu-hosting
posted by seanyboy 29 May | 11:28
This is Rock and Roll. || OMG Bunny!!!!

HOME  ||   REGISTER  ||   LOGIN