For some reason I kept getting the following error when starting my Apache2 server:
“Could not reliably determine the server’s fully qualified domain name, using 127.0.0.1 for ServerName

Since the error occurs only on my Apache/2.2.3 install and not on my Apache/2.0.54 install, I can only conclude that it is a “feature” of the newer 2.2.x version of Apache. Anyhow, the steps that I took to resolve this issue were the following:
echo host.domain.com > /etc/hostname
/bin/hostname -F /etc/hostname

For instance, if I were setting up the server where this site is hosted I would perform “echo ariden.net > /etc/hostname” for the first command. If you were on a local subnet, say called ‘home.local’, you would use the hostname of the machine. e.g. “echo linuxServer.home.local > /etc/hostname”.

Categories: LinuxWebsite

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.