Search this site

Sunday, January 26, 2014

Apache can't restart

When I restart apache, I get this message:
apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
The solution is

  • sudo nano /etc/apache2/httpd.conf or apache2.conf
  • Add: ServerName localhost
  • And restart apache: sudo /etc/init.d/apache2 restart

Source: link

No comments:

Post a Comment