httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Axel-Stephane SMORGRAV" <>
Subject RE: [users@httpd] Custom hostname and Apache 2.2.6
Date Tue, 18 Dec 2007 08:32:35 GMT
I do not know whether there is anything about this in the doc. 

Looking at the source code (server/util.c and server/vhost.c) I figured out that Apache at
some point tries to resolve the address associated with the host name on which it is running.
Normally this does not pose any problem because that info is in the /etc/hosts file, but in
your case, since both the host name and the associated IP address are served dynamically by
DHCP and does not resolve through DNS, you were stuck.

So the important thing is for Apache to resolve the address associated with the host name.
In your case I figured that the easiset way to achieve this was to add the host name to an
existing entry in /etc/hosts.


De : Hans Tovetjärn [] 
Envoyé : mardi 18 décembre 2007 09:30
À :
Objet : Re: [users@httpd] Custom hostname and Apache 2.2.6


Thank you, it worked! It does give me the warning, but that is perhaps not a big issue. This
is really a jungle to me right now though, in what part of the Apache documentation can I
read more about this?

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