ApacheエラーAH00558の対応

Nid: 672
  • エラーメッセージ
AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1. Set the 'ServerName' directive globally to suppress this message
  • 対応
$ echo "ServerName localhost" | sudo tee /etc/apache2/conf-available/servername.conf
$ sudo a2enconf servername
$ sudo service apache2 reload