[Ilugc] Start httpd httpd:Could not reliably determine the server's fully qualified domain name

  • From: girishvenkatachalam@xxxxxxxxx (Girish Venkatachalam)
  • Date: Tue Sep 22 18:01:22 2009

On Tue, Sep 22, 2009 at 3:47 PM, Ramkumar <ramkumarcrk@xxxxxxxxx> wrote:

Dear Friends,
? ? ? ? ? ? ? ? ? ?started Apache 2 service,while starting it says "Start
httpd httpd:Could not reliably determine the server's fully qualified domain
name ,using 127.0.0.1 for ServerName".i can access http://localhost.But i
cann't access my Apache Test Page in LAN with other machine.thanks in
advance

Go to httpd.conf and set a proper name in the

ServerName directive.

Open httpd.conf in vi/vim/emacs and search for ServerName. Set it to an IP
address and you don't have to worry about DNS or /etc/hosts.

It is as simple as that.

The most basic question is Apache configuration is this one and everyone
is bound to get this when learning the details of Apache configuration.

You should remember these switches for testing the configuration settings
everytime you modify the file.

$ httpd -t

More details here. It is really simple.

http://linux.die.net/man/8/httpd

I used to work on the guts of Apache and I used to use the -x switch for
 preventing Apache from forking. I don't think you will need to do that now.

Apache directives are organized in sections like XML.

Thanks!

-Girish

-- 
Gayatri Hitech
web: http://gayatri-hitech.com

SpamCheetah Spam filter:
http://spam-cheetah.com

Other related posts: