Thursday, July 19, 2012

How to fix Apache – "Could not reliably determine the server’s fully qualified domain name, using 127.0.1.1 for ServerName" Error on Ubuntu


How to fix Apache – "Could not reliably determine the server’s fully qualified domain name, using 127.0.1.1 for ServerName" Error on Ubuntu

Just Edit the file /etc/apache2/httpd.conf

$sudo gedit /etc/apache2/httpd.conf

By Default it is blank

add the following to httpd.conf

ServerName localhost

now you can restart apache

$/etc/init.d/apache2 restart

No comments: