Could not reliably determine the server's fully qualified domain name
When restarting apache2 in my VPS, this message is always output.
Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName ... waiting apache2: apr_sockaddr_info_get() failed for XXXXX
XXXXX means hostname. Why this message output? I discovered Apacheのエラー:Could not reliably determine the server’s fully qualified domain name〜とメッセージが出たときの対応 - yummy-yummy as this answer.
But this blog was described for RHEL or CentOS. My distribution is Debian so there are some different points. This blog is a memo how to fix this message on Debian, but this is very simple.