Welcome to WebmasterWorld Guest from

Forum Moderators: bakedjake

Message Too Old, No Replies

Problem accessing local sites in Apache on Mac OSX

Using Rendezvous

11:31 pm on Apr 20, 2003 (gmt 0)

New User

10+ Year Member

joined:Apr 20, 2003
votes: 0

I am attempting to access local sites on my Apache webserver using the format [mattsibook.local...] but I consistently get the following error message:

While trying to retrieve the URL: [mattsibook.local...]

The following error was encountered:
Unable to determine IP address from host name for mattsibook.local

The dnsserver returned:
Name Error: The domain name does not exist.

This means that:
The cache was not able to resolve the hostname presented in the URL.
Check if the address is correct.

After searching for ages I thought I would ask for the assistance of you all.

1:55 am on Apr 21, 2003 (gmt 0)

Preferred Member

10+ Year Member

joined:Jan 11, 2003
votes: 0

Do you have an entry for mattsibook.local in your hosts file?

Not sure about OSX, if memory serves it is based on Unix, so the location is probably /etc/hosts

2:47 am on Apr 21, 2003 (gmt 0)

Moderator from GB 

WebmasterWorld Administrator mack is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

joined:June 15, 2001
votes: 3

not trying to patronise here, bur are you sure apache is running?

I sometimes get a similar error of it is not. In shell I use apachectl to start. Not sure about osx though.

That one has caught me out a few times.

Just a thought.

3:17 am on Apr 21, 2003 (gmt 0)

New User

10+ Year Member

joined:Apr 20, 2003
votes: 0

I think that the problem is that I didn't have an entry for the local files to bypass the proxy server.