AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using XXX.XXX.XXX.XXX.

Solution Unverified - Updated -

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.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content