[lug] DNS and Apache Server

rm at mamma.varadinet.de rm at mamma.varadinet.de
Sat Jun 3 11:47:53 MDT 2000


On Fri, Jun 02, 2000 at 12:21:30PM -0600, Nate Duehr wrote:
> You can just trick apache by putting the machine name in /etc/hosts...
> works for sendmail too, in most cases. 
> 
> Assuming that /etc/nsswitch.conf file is setup to use /etc/hosts
> correctly.
> 
> And assuming that apache is using the correct hostname...
> 
> And... 
> 
> You get the idea...
> 
> On Fri, Jun 02, 2000 at 12:38:03PM -0400, Subba Rao wrote:
> > One problem I have noticed is the slow startup of Apache at boot up time on my Linux.
> > It is trying to resolve the DNS name for this web server. The domainname on my
> > local LAN is a bogus domain. I do have the WWW server mentioned in the DNS table
> > 
> > www             A       10.5.28.11
> > 
> > What entries are required in the DNS to get Apache to start without delay?
> > The named daemon is starting before the the httpd daemon. The problem is obviously
> > in the DNS record.

It seems like overkill to set up a DNS record just to keep apache happy.
In such cases i just add 
ServerNAme bla.fusel.com
to my webservers configuration file and apache will start up
happily.

 Ralf 






More information about the LUG mailing list