apache2: Could not reliably determine the server’s fully qualified domain name, using 127.0.0.1 for ServerName

Everytime I start apache2 (# apache2ctl start) this message is dispalyed:

apache2: Could not reliably determine the server’s fully qualified domain name, using 127.0.0.1 for ServerName

Well, the site is still running despite the above notification.

To fix it, we need to edit the /etc/apache2/httpd.conf or /etc/apache2.conf and add the following line:

ServerName nameofserver

Now, restart the apache server (# apache2ctrl restart) and should no loger see the previous message.

11 thoughts on “apache2: Could not reliably determine the server’s fully qualified domain name, using 127.0.0.1 for ServerName

  1. Pingback: Setting FQDN in apache

  2. ramkumar

    Good morning guys, I am facing problem on RedHat Linux, we have baught IBM 3850x machine installed RedHat Linux 5.6 then installed oracle software …. nothing to do with oracle … i have problem causing in root … session frezing ,,, you any one can help me … time to time we have this problem … session freezning ..

    Reply

Leave a Reply

Your email address will not be published. Required fields are marked *