Category Archives: WEB SERVER

Error With Apache 2.4 on Windows 7 64 bit


I was trying to install Apache Http Server 2.4 on Windows 7 64 bit and was receiving error while starting the Apache Server :

 

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.