[Error] Could not reliably determine the server’s fully qualified domain name …

Sometimes after installation of apache 2 on Ubuntu, when restarting apache You will get this erorr message

$ service apache restart
* Restarting web server apache2
apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName
... waiting apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName

To solve this problem You need set ServerName.

$ vim /etc/apache2/conf.d/name

For example set add ServerName localhost or any other name:

ServerName localhost

Restart Apache 2

$ service apache restart

For this example I use Ubuntu 11.10

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.