httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matus UHLAR - fantomas <>
Subject Re: [users@httpd] apache hostname resolution (strange problem)
Date Tue, 28 Aug 2007 16:41:31 GMT
> >> I have the oddest situation. I have a test server on the LAN. I added a
> >> host entry for (actual name changed to protect the
> >> innocent). I can ping and my resolved address matches
> >> the host entry. Life is grand, no?

> >> I have apache configured with a virtual host for
> >> Watch what happens when I check my virtual hosts with httpd -S. I get
> >> the PUBLIC internet address for

On 11.07.07 10:55, Jeff Fulmer wrote:
> I expect it to be It can't bind a virtual host to an address
> that's not on the server. Here's the output of httpd -S

"of course" it can't bind to address which is not configured on your server

> lccas243$ bin/httpd -S
> VirtualHost configuration:

> On the server itself, resolves to which is
> the address I have in the /etc/hosts file. But apache is resolving it
> based on it's DNS entry. It does this even when I turn DNS off!

maybe using dnsmasq or other local DNS server which uses /etc/hosts would
help you.
Matus UHLAR - fantomas, ;
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
Despite the cost of living, have you noticed how popular it remains? 

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message