httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Axel-Stephane SMORGRAV" <Axel-Stephane.SMORG...@europe.adp.com>
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.

-ascs
________________________________

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


Hello! 

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:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message