Httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName

From Kolmisoft Wiki
Jump to navigationJump to search

This error is shown when starting httpd service. Solution is to uncomment line:

#ServerName www.example.com:80

and change it to:

ServerName localhost

Line is located in "### Section 1: Global Environment".

in file /etc/httpd/conf/httpd.conf

and restart httpd service again:

service httpd restart