I tried to restart my Apache server on CentOS 5.0 and got this message:
httpd: Could not reliably determine the server\'s fully qualified domain name,
I've resolved the fully qualified domain name message on different occasions by adding my server hostname to the /etc/apache2/httpd.conf file and to the /etc/apache2/apache2.conf file.
Type hostname -f in your terminal. This query will return your hostname.
Then edit the /etc/apache2/httpd.conf file (or create it if it does not exist for some reason) and add ServerName .
Alternatively, I have also been able to eliminate the message by adding ServerName to the /etc/apache2/apache2.conf file.
If all goes well, when you restart Apache, the message will be gone.