If, when starting or restarting the Apache server, you get this warning:
httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
where instead of 127.0.0.1 the server's IP address might appear, this simply means that the Apache daemon didn't find the "ServerName" directive in its config file and had to use the IP address instead of the server name.
To stop this message from bothering you - open the Apache configuration file and add this line:
ServerName "MyWebServer"
where instead of "MyWebServer" you write the name of this server (however you want it to be displayed in Apache's messages.
Applies to: Apache2.x
Comments