Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 04-08-2008, 05:32 PM   #1
Registered: Jun 2005
Distribution: arch, ubuntu
Posts: 456

Rep: Reputation: 30
problem with fully qualified domain name and apache

hey there all
i am running ubuntu linux 7.10 and using apache2 with virt hosting.
everytime i restart apache, i get this error.
Could not reliably determine the server's fully qualified domain name, using for ServerName

this is what i have in /etc/hosts
Code: mybox localhost mybox localhost
i am on a network behind a router, but still don't think that that has anything to do with this,.

any tips would be much appreciated
Old 04-08-2008, 10:13 PM   #2
Registered: Nov 2006
Location: Seattle, WA
Distribution: Fedora
Posts: 407

Rep: Reputation: 35
It is likely that Apache can look up its host name using /etc/hosts; the problem may be that it cannot check that the address given ( corresponds to the name it thinks it should use. I have never relied exclusively on /etc/hosts to handle name resolution; instead, I recommend a simple DNS nameserver running on your 10.10.10.x network somewhere, that will respond to both forward and reverse lookups. This should make this complaint go away.
Old 04-09-2008, 01:26 AM   #3
Registered: Jun 2005
Distribution: arch, ubuntu
Posts: 456

Original Poster
Rep: Reputation: 30
Hey thanks for that,
there are other reasons that i really should set up our own dns.
Thanks for your time


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 47 02-13-2015 11:34 PM
hostname and fully qualified domain name setup help strimp099 Linux - Networking 7 01-14-2005 11:07 PM
Fully Qualified Domain Name tumana Linux - Networking 4 06-10-2004 03:58 AM
Apache: httpd: Could not determine the server's fully qualified domain name.. shirtboy Linux - Software 1 11-20-2003 04:47 AM
Fully Qualified Domain Names? MasterC Linux - Networking 7 05-19-2003 02:38 PM > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 12:47 AM.

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