2 domains 1 .co.uk 1.com the .com isnt working!

24 posts / 0 new
Last post
#1 Sat, 06/21/2008 - 04:14
sam_webb00

2 domains 1 .co.uk 1.com the .com isnt working!

Hi there i have a problem with virtual i have to web address's lets call them www.abc.co.uk and www.abc.com the .co.uk works fine but the .com resolves the right ip address but doesnt work and i cant ping it either, anyone have any ideas? Thanks

Sat, 06/21/2008 - 10:41
Joe
Joe's picture

What kind of server did you create for abc.com? If you just want it pointing to the same site as abc.co.uk, you'd create an Alias Server.

--

Check out the forum guidelines!

Sat, 06/21/2008 - 13:53 (Reply to #2)
sam_webb00

I Created 2 seperate servers both with slightly differnt content, the weird thing is when i type it in on my home computers (any of them i get page cannot bee found) but if i use a proxy browser it works fine
and i can also email the .com address, the dns was last updated about 3 days ago so i doubt it could be anything to do with ttl. i have tried clearing the computers DNS cache and even using a fresh install on one machine all to no luck, any ideas
thanks for your response!

Sat, 06/21/2008 - 14:01 (Reply to #3)
Joe
Joe's picture

Your glue records at your registrar are probably botched somehow--maybe one is pointing to a dead server. NS records can also cause inconsistent behavior.

--

Check out the forum guidelines!

Sat, 06/21/2008 - 14:03 (Reply to #4)
sam_webb00

glue records? the ns record is the name of the server right ns1.abc.co.uk? if i make a new virtual server does it make a new nameserver i.e. ns1.abc.com?

Sat, 06/21/2008 - 14:28 (Reply to #5)
Joe
Joe's picture

<div class='quote'>glue records?</div>

The records at your registrar that tells the world where to look for your zone.

See: http://doxfer.com/Webmin/BINDTroubleshootingTools

The bit about whois, in particular.

<div class='quote'>the ns record is the name of the server right ns1.abc.co.uk?</div>

I don't know. That's up to you and your configuration. ;-)

You can find out, though, with the BIND DNS module in Webmin, or you can ask your server:

host -t ns abc.co.uk

For example:

$ host -t ns virtualmin.com
virtualmin.com name server ns0.virtualmin.com.
virtualmin.com name server ns1.virtualmin.com.

But, note that the glue records must match this for everybody to be happy. Virtualmin has no control over glue records. They are provided by your registrar.

<div class='quote'>if i make a new virtual server does it make a new nameserver i.e. ns1.abc.com?</div>

No, not by default. That would be painful as hell. Springing a name server into existence is a big nuisance, because of the glue records requirement mentioned earlier. Far easier to have two name servers in your favorite domain that you use for all name service for all of your zones. It is transparent to end users, so it doesn't matter where name service comes from. We use ns0/ns1.virtualmin.com for pretty much all of our zones, and I've got them setup as the name servers that are automatically assigned for new zones when I buy new domains at my registrar (usually GoDaddy, though we also use Register.com through our domain registration plugin--which actually can manage glue records, I believe).

I'd suggest you read the BIND section of the Webmin documentation:

http://doxfer.com/Webmin/BINDDNSServer

It'll give you a good baseline of knowledge to help you grasp what all of this terminology means, and how Webmin (and thus Virtualmin) interacts with it.

--

Check out the forum guidelines!

Sun, 06/22/2008 - 01:56 (Reply to #6)
sam_webb00

starting to understand a bit better now, so i should have 2 dns servers ns1.abc.com and ns2.abc.com (atleast) so i need a seperate machine to be ns2.abc.com?

Sun, 06/22/2008 - 02:14 (Reply to #7)
sam_webb00

oh and forgot to add does the ns2.abc.com also have to run bind or could it run windows based simple dns plus?

Sun, 06/22/2008 - 04:12 (Reply to #8)
andreychek

The advantage to a second machine for your NS2 is that it offers additional redundancy in your DNS. That said, whether or not you actually use a second machine is optional.

Some folks prefer to setup a second IP on the same box, and assign one IP to NS1 and the other IP to NS2. It does require two IP's, but it is capable of being on the same server.

If you choose to have a second server, the DNS itself can work regardless of your DNS server choice.

The advantage to Webmin/BIND for your second DNS server is that Webmin can manage it all for you, and do so fairly seemlessly.
-Eric

Thu, 07/03/2008 - 14:09 (Reply to #9)
ronald
ronald's picture

cause not everybody with a server is running a business..
i think in many homes you'll find a small lan with a pc doing it's job as a small server

that's a great deal with webmin. it's free and virtualmin can grow with you when needed
once the sysadmin has learned all facets of a server, who knows, they might then be ready to do some business too.

Thu, 07/03/2008 - 02:53
sam_webb00

ok sorry about the slow reply, if create a new server running centos 5 and install just bind or install webmin, and then what do i do?

Thu, 07/03/2008 - 04:12 (Reply to #11)
sgrayban

Sam,

Looks like you have really no clue how to admin a server so I'll point out what the forums are for and what they aren't for.

The forums are for help with problems with Virtualmin eg; bugs or setup issues -- they are not a class room for learning how to admin a server.

If you don't understand how to admin a server how are you going to offer server support to your customers? Sure VM makes setting up and running websites a lot easier but that does make admining it easy.

Everyone that wants to use VM should know the workings of a server and how things need to be setup without the need of being spoon fed each step.

Now I know I'll be flamed and yelled at but I see in the future with you and others here that every time you have a server problem/question you will be running here for a answer.

The short answer on getting proper dns up is google or hire a admin or buy a book about BIND and NOT coming here because this forum is NOT a class room for &quot;Server 101&quot;.

Thu, 07/03/2008 - 09:30 (Reply to #12)
Joe
Joe's picture

<div class='quote'>Looks like you have really no clue how to admin a server so I'll point out what the forums are for and what they aren't for.</div>

Actually, the newbie forums are intended for folks to ask any questions that have--general system administration tasks as they relate to Virtualmin and hosting are certainly welcome.

If the questions are too vague, they're less likely to get a good response...but even groping questioners that aren't sure what they need to know are welcome.

Ignore the questions you don't want to deal with.

--

Check out the forum guidelines!

Thu, 07/03/2008 - 10:01 (Reply to #13)
sgrayban

<div class='quote'>Actually, the newbie forums are intended for folks to ask any questions that have--general system administration tasks as they relate to Virtualmin and hosting are certainly welcome.</div>

Newbie stuff about webmin/virtualmin I can understand but seriously server admin stuff? How the heck are they going to run a business this way if they don't even understand bind?

Flame on me please.

Thu, 07/03/2008 - 05:16 (Reply to #14)
andreychek

Howdy,

I just want to verify, before we get too far, that you actually need a DNS server setup (it's one thing to have BIND running to perform DNS lookups, it's another to be using it to host DNS records).

You seemed to imply earlier that you have working DNS records somewhere. Are you looking to host a bunch of domains on this server? Or are you just dealing with a small handful that may already have DNS setup somewhere else?

If you're only talking about a handful of domains that aren't going to be changing much, most domain registrars provide DNS service for free. You can setup all your DNS records there, you just need to make sure the &quot;nameservers&quot; for each domain are set correctly within the registrar (which is where Joe was going with his post).
-Eric

Thu, 07/03/2008 - 05:28 (Reply to #15)
andreychek

And just to clarify what I mean by &quot;nameservers&quot;, you'd want to check out the section in the docs Joe pointed out called &quot;Using Whois to Confirm Glue Records&quot;:

http://doxfer.com/Webmin/BINDTroubleshootingTools#Using_whois_to_confirm...

If your nameservers (or glue records as Joe likes to call them ;-) aren't pointing to where your DNS records currently reside, things won't work right!
-Eric

Thu, 07/03/2008 - 06:50 (Reply to #16)
sgrayban

nameservers and glue records are different but the same.

Nameservers is really a server that has BIND installed.
Glue records is not a nameserver in that definition.

Glue records are IP's that POINT to a nameserver, eg; ns1.virtualmin.com is assigned IP 70.85.191.202 which has been *registered*, just like a domain name would be, as a registered namerserver domain.

$ owhois nameserver ns1.virtualmin.com

Whois Server Version 2.0

Server Name: NS1.VIRTUALMIN.COM
IP Address: 70.85.191.202
Registrar: INTERCOSMOS MEDIA GROUP, INC. D/B/A DIRECTNIC.COM
Whois Server: whois.directnic.com
Referral URL: http://www.directnic.com

This is a GLUE record which has been registered to be used in the ROOT nameservers. http://en.wikipedia.org/wiki/Root_server

Thu, 07/03/2008 - 06:52 (Reply to #17)
sgrayban

And root servers ONLY contain 1 record for each domain -- The NS records, nothing else.

Thu, 07/03/2008 - 09:32 (Reply to #18)
Joe
Joe's picture

<div class='quote'>if create a new server running centos 5 and install just bind or install webmin, and then what do i do? </div>

It's your lucky day. There's documentation for exactly that:

http://www.virtualmin.com/documentation/id,dns_slave_auto-configuration_...

Though there's still one tricky bit not covered: Springing name servers into existence at your registrar. Some make it easy, some (GoDaddy, for example, who are otherwise a fine registrar) make it a horrible chore.

--

Check out the forum guidelines!

Thu, 07/03/2008 - 09:39 (Reply to #19)
andreychek

Hrm, I wonder if GoDaddy has simplified this process a bit recently, as I had a pretty easy time registering mine there.

If I log into GoDaddy, and visit the details for the domain in question, there's a box on the bottom-left labeled &quot;Host Summary&quot;. I was able to register my name servers there by just adding ns1 and ns2 and their associated IP addresses.
-Eric

Thu, 07/03/2008 - 08:40
sam_webb00

Thanks for the response from everyone (well nearly, i thought that the newbie part of the forum would be for newbie like questions, and does it really hurt that i am trying to learn and people pointing each other in the right direction can help the community as a whole?) What i have got is a server running virtualmin and i want a secondary server in a different location running a secondary name server i.e. ns2.my-hcs.co.uk, my main problem is at the moment the second location only has a windows machine and unfortuantly i cant get there for a few days, so i have remotly installed simple dns plus but dont no how to tell ns1.abc.co.uk that there is an ns2.my-hcs.co.uk is it by going to the edit master zone of abc.co.uk and clicking on new nameserver and then entering the name and absolute name?

Thu, 07/03/2008 - 09:12 (Reply to #21)
sgrayban

The simple and to-the-point answer...

ns1.my-hcs.co.uk &amp; ns2.my-hcs.co.uk must be registered as a child-nameserver or a host-nameserver depending on who your registrar was.

They must be different IP's and *should* be on different networks for redundancy.

There is no other way to explain it.

Second installing webmin on windows is not easy nor do I recommend it. Getting true bind to work on it is not easy.

Thu, 07/03/2008 - 09:14
sam_webb00

this is why i went with simple dns plus, i have the same records on both ns1 and ns2 but i dontno what to do now, what kind of record links nameservers?

Thu, 07/03/2008 - 09:37
sam_webb00

my domains are hosted by 1and1, and i have created one before, so thats no problem will give what u have said ago in a few mins , thanks for your support!

Topic locked