Could not determine the server's fully qualified domain name
Posted: Sun Feb 24, 2008 5:47 pm
[PROBLEM]
(Re)starting apache outputs the following error message:
Make sure that your hostname is a fully qualified domain name. Often it's set to something like "myhostname" instead of "myhostname.domain.xxx".
You can see the current hostname by calling the command:
To set it to a FQDN, call:
(Re)starting apache outputs the following error message:
[SOLUTION]apache2: Could not determine the server's fully qualified domain name, using 127.0.1.1 for ServerName
Make sure that your hostname is a fully qualified domain name. Often it's set to something like "myhostname" instead of "myhostname.domain.xxx".
You can see the current hostname by calling the command:
Code: Select all
hostname
Code: Select all
hostname myhostname.domain.xxx