Solved

configuration of named.conf

Posted on 2006-07-23
10
227 Views
Last Modified: 2010-03-04
Hi,

I've just got BIND up and running and would like to know how to get it setup to answer for one of my domains.

At the moment I have the name servers registered ns1.antbrown.com and ns2.antbrown.com and the domain name www.antbrown.com (the domain name is using these name servers) the name servers are apparently (according to Aplus.net) pointing to the IP address of my dedicated server.

So what do I need to do to get www.antbrown.com recognised?

I have looked at the following document but it did't seem to be ringing a bell with me....

http://yolinux.com/TUTORIALS/LinuxTutorialWebSiteConfig.html#DNS

Thanks
Ant
0
Comment
Question by:antum
  • 3
  • 2
  • 2
  • +1
10 Comments
 
LVL 24

Expert Comment

by:slyong
ID: 17165392
Hi Ant,

Since the last time that you asked about DNS question.  I think you are not getting enough advise of the issue.  Let's see what needs to be done and what is already in place:

1) Purchase a Domain Name (i.e. antbrown.com) from the registrar - done with Aplus
2) Setup the DNS - pending
3) Setup the Web Hosting - done

The problem is that you really need 2 NameServers (ns1 ns2) for any domain registered and those needs to be fixed IPs too.  In item (3), that you have already purchase a hosting (dedicated server) from someone.  Would you be able to let us know who that company is?  They might already have provided DNS server for you.  May be you should check with them.  To make the whole scenario a bit clearer.  When you purchase a domain name from the registrar, the registrar will configure nameservers which is the NS records.  The NS records should be pointing to your DNS servers (2 of them).  In your DNS servers, you then setup things like www pointing to where your Web Server is.
0
 
LVL 15

Accepted Solution

by:
periwinkle earned 250 total points
ID: 17169771
Assuming that you have two ip addresses and DNS set up properly, you then must change your registrar record at names4ever.com for antbrown.com.

However, according to domaintools.com (see: http://whois.domaintools.com/antbrown.com ),

- you are using the same ip address for both name servers (which is not allowed by the central registry)
- there are apparently errors with how you have set up dns.

I then went to dnsreport.com to find out more information:

http://dnsreport.com/tools/dnsreport.ch?domain=antbrown.com

There are many issues which you need to resolve;  perhaps this gives you a start in the right direction?
0
 

Author Comment

by:antum
ID: 17173374
Hi there,

Yes, very helpful. I do not have two IP addresses. Do I need to rent another one? or ? how do I proceed from here?

Currently antbrown.com works but www.antbrown.com doesn't work. Perhaps this is another issue unrelated....

Thanks
Ant
0
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 
LVL 24

Assisted Solution

by:slyong
slyong earned 250 total points
ID: 17173410
Hi Ant,

It seems like the other way around.  www.antbrown.com give me your hello world while antbrown.com doesn't give me anything.  May be your have resolved the issue?
0
 
LVL 51

Expert Comment

by:ahoffmann
ID: 17176058
> Currently antbrown.com works but www.antbrown.com doesn't work.
are you talking about DNS (ping, nslookup, dig, etc.) or about accessing your webserver at these FQDNs (as I assume according the TA here)?
0
 

Author Comment

by:antum
ID: 17246271
Hmm.. FQDNs and TA are foreign to me so I guess I am missing something...

I'm talking about accessing them from the browser... my Apache conf for the Virtual Host seems to be setup right... it gives the Alias and ServerName, but in the DNS settings I have antbrown.com instead of www.antbrown.com 

I did try to change it once which is probably why slyong saw it the other way around... but I soon changed it back because all the examples I read left the www part out in the named.conf

Thanks,
Ant
0
 
LVL 15

Expert Comment

by:periwinkle
ID: 17246293
FQDN = fully qualified domain name - that means www.antbrown.com instead of just the domain name antbrown.com.
0
 
LVL 15

Expert Comment

by:periwinkle
ID: 17407385
There are still issues with your dns servers - please refer back to the dnsreport:

http://www.dnsreport.com/tools/dnsreport.ch?domain=antbrown.com

0

Featured Post

NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Introduction As you’re probably aware the HTTP protocol offers basic / weak authentication, which in combination with the relevant configuration on your web server, provides the ability to password protect all or part of your host.  If you were not…
Hi, in this article I'm going to teach you how to run your own site, and how to let people in (without IP). I'll talk about and explain each step... :) By the way, everything in this Tutorial is completely free and legal. This article is for …
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question