LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 06-08-2004, 09:22 AM   #1
notmatt
Member
 
Registered: Apr 2004
Distribution: Mepis/Kubuntu/Other
Posts: 32

Rep: Reputation: 16
Apache 2 configuration problems - Cannot resolve domain


Hullo all

I've recently installed apache 2 on my server (running Debian, managed by Bytemark hosting, it is a virtual server, using Usermode Linux). All is working well, apache is serving pages:

http://212.13.209.171/

As can be seen. However I'm trying to get it to resolve the domain www.cxv.cc. The information is on the DNS servers of the company who manage the server. They have confirmed that the information is up there, so there shouldn't be a problem there.

Here is my http.conf file:

http://212.13.209.171/httpd.conf.txt

Using the command ./apachectl -t (to check the syntax of httpd.conf) works fine, no errors there.

I've added the following line to the /etc/hosts file:

212.13.209.171 cxv.cc cxv

I've even used wget (from the same server admittedly) to get the index.html page I've put up there, using:

wget http://www.cxv.cc/index.html

But when I try the same with a browser (Firefox) it cannot resolve the host. I'm using Win XP to try and view the webpages. According to my log files everything is working too.

Would I need to add www.cxv.cc to my hosts file? Should I be adding a similar line to /etc/hosts.allow?

What have I missed? I'm getting rather confused as to what to try next!

TIA

Matt
 
Old 06-08-2004, 10:22 AM   #2
linuxxed
Member
 
Registered: Feb 2004
Posts: 273

Rep: Reputation: 30
Well your www.cxw.cc is pointing somewhere else and not at the IP address you've provided. it cannot, hence serve your pages

H:\>nslookup

> set type=a
> www.cxw.cc
Non-authoritative answer:
Name: www.cxw.cc
Address: 206.253.214.102
>


Get them to point the "A" address of www.cxw.cc correctly and everything should be OK
 
Old 06-08-2004, 10:25 AM   #3
linuxxed
Member
 
Registered: Feb 2004
Posts: 273

Rep: Reputation: 30
if you add www.cxw.cc to the 212.13.209.171 then yes it would work but ONLY on that computer. Not for everyone on world wide web.
 
Old 06-08-2004, 10:56 AM   #4
notmatt
Member
 
Registered: Apr 2004
Distribution: Mepis/Kubuntu/Other
Posts: 32

Original Poster
Rep: Reputation: 16
My domain is www.cxv.cc *not* www.cxw.cc. I'm assured by the guys running the nameservers that all the information has been added there correctly. That is why I'm thinking it is a Apache cinfiguration problem.

Cheers

Matt
 
Old 06-09-2004, 02:02 AM   #5
unforgivn
Member
 
Registered: Jul 2003
Location: south africa
Distribution: RH 9 hopefully fedora core 2 soon :P
Posts: 34

Rep: Reputation: 15
Hmmm... just try doing an nslookup www.cxv.cc
I don't get anything on that adress, so I'm sure the mistake is at the nameserver's side
when I do an nslookup on the ip adress it resolves to:
hugh.vm.bytemark.co.uk
so My guess is that it is a nameserver problem.
 
  


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
unable to resolve domain names natekris2331 Slackware 9 02-12-2011 12:27 PM
what would make ever virtual domain name resolve to one domain name on my system kuplo Linux - Newbie 1 11-14-2005 06:57 PM
I can't resolve domain after 1 hour sesz Linux - Networking 2 07-28-2005 08:42 PM
fetchmail-sender domain doesn't resolve tincat2 Linux - Software 5 05-03-2005 08:29 AM
unable to resolve domain names.. shazbot Slackware 5 02-05-2003 07:09 AM


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

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