この記事を読むのに必要な時間は約 3 分です。
apache2.confの修正
エラーメッセージがでたとき
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のエラーがでたとき、
ServerNameがないよー
というエラーなので追加してあげる。

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のエラーがでたとき、
configファイルを弄ったら以下2セットを行う。
- apache2ctl configtest
- systemctl reload apache2.service

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のエラーがでたとき、