Skip to content

Apache HTTPD Common Issues

Cannot Determine Server Fully Qualified Domain Name

The Problem

Apache2: Could not reliably determine the server's fully qualified domain name, using for ServerName


This problem can be resolved by doing one or two of the following solutions.

  • Set "ServerName" directive within the configuration file (e.g. httpd.conf or all the files within /etc/apache2/sites-avaliable/).
  • Set the FQDN (fully qualified domain name) within the "/etc/hosts" file (e.g. john).
  • Restart Apache2 (httpd), $ sudo services apache2 restart.