apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerNameTo fix this, I have to add the following line into the /etc/apache2/httpd.conf file:
ServerName nameofserverReplace nameofserver with the actual name of the server that you want to have Apache configured under.
7 comments:
In case of Ubuntu Hardy Heron, I had to create the file /etc/apache2/conf.d/fqdn with following line as content:
ServerName localhost
Thanks, it worked perfectly for me!
Andrea
Thanks a lot .. It worked for me...
It worked flawlessly for me too.
This helped us. Thank you everyone!
shell# echo $HOSTNAME >> /etc/apache2/conf.d/fqdn
Note slight corection to above post:
echo ServerName $HOSTNAME > /etc/apache2/conf.d/fqdn
glad that helped!
Post a Comment