LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices



Reply
 
Search this Thread
Old 10-24-2010, 08:07 PM   #1
JosephS
Member
 
Registered: Jun 2007
Distribution: Debian Squeeze, CrunchBang Waldorf
Posts: 517

Rep: Reputation: 38
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?
 
Old 10-25-2010, 01:07 AM   #2
bathory
Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 10,975

Rep: Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343
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
 
1 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Apache giving the error :Could not determine the server's fully qualified domain name bcf2 Linux - Server 46 10-15-2013 04:45 AM
LAMP/Apache problem - Could not reliably determine the server's fully qualified D/N kaos_king Linux - Newbie 10 06-12-2010 08:15 AM
"Could not reliably determine the server's fully qualified domain name, using 127.0. amritpalpathak Linux - Software 2 03-20-2010 03:36 PM
apache2 error :: server's fully qualified domain name sureka Linux - Server 2 06-14-2008 02:18 AM
Apache: httpd: Could not determine the server's fully qualified domain name.. shirtboy Linux - Software 1 11-20-2003 04:47 AM


All times are GMT -5. The time now is 06:45 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration