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 .
- 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:
- Restart the Apache Server.