Difference between revisions of "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
Line 4: Line 4:
  #ServerName www.example.com:80
  #ServerName www.example.com:80


and change it to.
and change it to:


  ServerName localhost
  ServerName localhost

Revision as of 12:48, 29 September 2015

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.