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

, , 3 Comments


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

 

3 Responses

Leave a Reply