Fix "Could not reliably determine the server’s fully qualified domain name" apache error

To fix the error "Could not reliably determine the server’s fully qualified domain name…" that happens when you restart Apache on Ubuntu, add this to /etc/apache2/httpd.conf

ServerName localhost

restart Apache again (apache2ctl graceful) and the error message should be gone.

Thanks to Mohamed Aslam

Leave a Reply

Your email address will not be published.