Why does apache throw the error "Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName"?
Issue
- When starting httpd, following message is displayed:
`httpd`: "Could not reliably determine the server’s fully qualified domain name, using 127.0.1.1 for ServerName"
- The Apache httpd configtest shows the following error message and httpd fails to start
# service httpd configtest
httpd: Could not reliably determine the server's fully qualified domain name, using test.example.com for ServerName
Syntax OK
Environment
- Red Hat Enterprise Linux (RHEL)
- 6.4
- Apache httpd 2.2.15
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
