apache2: Could not reliably determine the server's fully qualified domain name


#1

Description:
apache2 - fresh installation and restart
Operating System:

Ubuntu
Error:

service apache2 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


Solution:

$ sudo echo "ServerName `hostname`" >> /etc/apache2/httpd.conf

#2

#3