[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: "httpd: cannot determine local host name"



	  I had this problem recently helping someone with a potato
system.  The mahcine was not on the net. ftp , finger, telnet used the
loopback device and the name in /etc/hosts and could find the local
machine 'bigsky'  .   I am not sure why apache could not find it.
But there was some file in /etc/apache that allows you to set the server name 
explictly.  This is what I get when installing apache
Stopping apache with apachectl ...
Waiting for apache to terminate ...done.
apache: cannot determine local host name.
Use the ServerName directive to set it manually. 
 So add the line 
ServerName yourhostname
to /etc/apache/httpd.conf

Then do apachectl restart and your pages should be found by
netscape.

This is proabably a kludge , but it works.


-- 
John Lapeyre <lapeyre@physics.arizona.edu>,  lapeyre@debian.org
Tucson,AZ     http://www.physics.arizona.edu/~lapeyre


Reply to: