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.')
 
 
(2 intermediate revisions by the same user not shown)
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


in file /etc/httpd/conf/httpd.conf and restart httpd service again.
Line is located in "### Section 1: Global Environment".
 
in file /etc/httpd/conf/httpd.conf
 
and restart httpd service again:
 
service httpd restart

Latest revision as of 12:51, 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:

service httpd restart