LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
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 04-08-2008, 05:32 PM   #1
nephish
Member
 
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.
Code:
Could not reliably determine the server's fully qualified domain name, using mysdomian.com for ServerName

this is what i have in /etc/hosts
Code:
127.0.0.1 mybox.mydomain.com mybox localhost
10.10.10.5 mybox.mydomain.com mybox
127.0.0.1 localhost mydomain.com
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
dkm999
Member
 
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 (10.10.10.5) 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
nephish
Member
 
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
 
  


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
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


All times are GMT -5. The time now is 03:42 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