> >> I have the oddest situation. I have a test server on the LAN. I added a > >> host entry for www.myserver.com (actual name changed to protect the > >> innocent). I can ping www.myserver.com and my resolved address matches > >> the host entry. Life is grand, no? > >> I have apache configured with a virtual host for www.myserver.com. > >> Watch what happens when I check my virtual hosts with httpd -S. I get > >> the PUBLIC internet address for www.myserver.com: On 11.07.07 10:55, Jeff Fulmer wrote: > I expect it to be 10.37.74.24. 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: > 64.157.185.199:80 www.myserver.com > On the server itself, www.myserver.com resolves to 10.37.74.24 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, uhlar@xxxxxxxxxxx ; http://www.fantomas.sk/ 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:http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx