Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 06-08-2004, 09:22 AM   #1
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:

As can be seen. However I'm trying to get it to resolve the domain 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:

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

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


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


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

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


> set type=a
Non-authoritative answer:

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

Rep: Reputation: 30
if you add to the 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
Registered: Apr 2004
Distribution: Mepis/Kubuntu/Other
Posts: 32

Original Poster
Rep: Reputation: 16
My domain is *not* 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.


Old 06-09-2004, 02:02 AM   #5
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
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:
so My guess is that it is a nameserver problem.


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 > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 11:36 PM.

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