How To Fix – Starting httpd: httpd: Could not reliably determine the server’s fully qualified domain name.

Here is how to fix :

Starting httpd: httpd: Could not reliably determine the server’s fully qualified domain name.

You might get this error when restarting Apache. To resolve the issue add the following to your httpd.conf file:

ServerName xyz.yourdomainname.com

The file is usually located at – /etc/httpd/conf/httpd.conf

I use the same information that is in my reverse dns to my main public server IP.


How to fix – Amavis Error – Hostname not FQDN $myhostname is

Starting amavisd:   The value of variable $myhostname is “ip-10-102-202-207”, but should have been
a fully qualified domain name; perhaps uname(3) did not provide such.
You must explicitly assign a FQDN of this host to variable $myhostname
in amavisd.conf, or fix what uname(3) provides as a host’s network name!

Just edit the \etc\amavisd\amavisd.conf

Take the comment out of the $hostname line and enter the fqdn in the value.