AH00558: httpd.exe: Could not reliably determine the server's fully qualified domain name, using XXXX::XXXX:XXXX:XXXX.
Set the 'ServerName' directive globally to suppress this message
Root Cause :
Apache Server is looking for the hostname name which it can use to start and listen for request. If there is a hostname configured on the machine and it is not configured in the httpd.conf file then it will throw this error .
Solution:
- Get the hostname of the machine on which the Apache Server is installed using the OS command : hostname
- Configure the same in the httpd.conf file with the directive : ServerName as shown below:
ServerName Sandeep
- Restart the Apache Server.
In case you do not want to use the Machine Hostname with the Apache Server then make the ServerName Entry in the httpd.conf file as localhost.
5 comments:
i am getting this same error but i did not exactly how to solve so please elaborate.
Thanks in advance
you are getting this error because the ServerNamer parameter in httpd.conf file does not match your machine hostname.
So change the value of the ServerName Parameter value in httpd.conf file to same as the hsotname name of your machine .
hey can u please tell where in httpd.conf file i can get to change the hostname and where in my system i can confirm what hostname is had given.
Thanks in advance
also i want to ask can i make another localhost with new hostname and password without changing anything in previous if yes then how??????
Hi Jaya,
you can find the hostname of the machine with command : hostname ( either or windows or on unix )
c:/> hostname
abc.test.com
in the httpd.conf file , search for the entry : ServerName
if this entry is present then change the value as below :
ServerName abc.test.com
And your second question is not at all clear , so can you please elaborate it .
thanks,
sandeep
Post a Comment