apache2 could not reliably determine the server’s fully qualified domain name using 127.0.0.1

When apache complains like this.

  • check that the virtualhosts so that ServerName is set to a FQDN
  • check /etc/hostname [should be a fqdn] (after you have updated this, run “/bin/hostname -F /etc/hostname”
  • check /etc/hosts
  • Hint: use “apache2ctl configtest” to see if it helps