AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using XXX.XXX.XXX.XXX.
Issue
- When httpd.service starts, it logs in /var/log/messages.
httpd[PID#]: AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using XXX.XXX.XXX.XXX. Set the 'ServerName' directive globally to suppress this message
- "apachectl configtest" command log the same.
# apachectl configtest
AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using XXX.XXX.XXX.XXX. Set the 'ServerName' directive globally to suppress this message
Syntax OK
Environment
- Red Hat Enterprise Linux 7, 8, 9
- httpd
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.