LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (http://www.linuxquestions.org/questions/linux-server-73/)
-   -   apache2: Could not reliably determine the server's fully qualified domain name (http://www.linuxquestions.org/questions/linux-server-73/apache2-could-not-reliably-determine-the-servers-fully-qualified-domain-name-840217/)

JosephS 10-24-2010 07:07 PM

apache2: Could not reliably determine the server's fully qualified domain name
 
Using Debian Lenny

I'm getting the following message in my mail:
/etc/cron.daily/logrotate:
Quote:

apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
Is this a problem; how would I fix it?

bathory 10-25-2010 12:07 AM

Hi,

This is not a real problem, but it's good to give apache a name so it stops complaining.
Open /etc/apache2/sites-enabled/default and add:
Code:

ServerName host.domain.com
where host.domain.com is the FQDN you can find in /etc/hosts

Regards


All times are GMT -5. The time now is 11:53 AM.