apache2: Could not reliably determine the server’s fully qualified domain name, using 127.0.1.1 for ServerName Posted on January 29, 2012 by MK Simply open /etc/apache2/httpd.conf and add the following line: ServerName localhost Save and restart your Apache.