User Tools

Site Tools


apache:troubleshooting:could_not_reliably_determine_the_server_s_fully_qualified_domain_name_using_127.0.1.1_for_servername

Apache - Troubleshooting - Could not reliably determine the server’s fully qualified domain name, using 127.0.1.1 for ServerName

Error

When Starting or Restarting Apache, the error is seen Could not reliably determine the server’s fully qualified domain name, using 127.0.1.1 for ServerName.


Fix

Add the ServerName directive to /etc/apache2/httpd.conf.

/etc/apache2/httpd.conf
ServerName localhost
...

Restart Apache

sudo /etc/init.d/apache2 restart

apache/troubleshooting/could_not_reliably_determine_the_server_s_fully_qualified_domain_name_using_127.0.1.1_for_servername.txt · Last modified: 2023/07/17 09:12 by peter

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki