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
(Created page with 'This error is shown when starting httpd service. Solution is to add or change line: ServerName localhost in file /etc/httpd/conf/httpd.conf and restart httpd service again.')
 
Line 1: Line 1:
This error is shown when starting httpd service.
This error is shown when starting httpd service.
Solution is to add or change line:
Solution is to uncomment line:
 
#ServerName www.example.com:80
 
and change it to.


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


in file /etc/httpd/conf/httpd.conf and restart httpd service again.
in file /etc/httpd/conf/httpd.conf and restart httpd service again.

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.