Web Hosting Talk







View Full Version : ns3 ns4 quick question


Frimon86
01-21-2006, 01:24 PM
I h ave two servers I plan to run for webhosting so can I do this
ns1.asdfasd.com then ns2.asdfasd.com and then log on whm on my second server and put this ns3.asdfasd.com and ns4.asdfasd.com when they are both set would this work

I have two servers I want to have both webosting accounts on both of the servers but use it for only one domain is that possible?

Lets say I set name servers on both of the servers ns2, ns2, ns3, ns4

Server 1
ns1.asdfasd.com
ns2.asdfasd.com

Server 2
ns3.asdfasd.com
ns4.asdfasd.com

Am I able to setup a acccount on server 2 and lets say i put in a subdomain so I can test it lets say I create an account with 'bobby' as the subdomain and account name and try this out

bobby.asdfasd.com or asdfasd.com/~bobby

Would it work? Or would I only be able to create the accounts with Server 1 and not server 2?

Corey Bryant
01-21-2006, 05:08 PM
First why do you want ns1 and ns2 on the same server? NS1 should be on one server and NS2 should be on another server for redundancy. Having more name servers just on two servers does not really help.

I am not too familiar with WHM but usually when you create a sub-domain, it gets created on your web server updates your DNS record

layer0
01-21-2006, 05:29 PM
You should do DNS clustering and have the NS1 on the first server and NS2 on the second server.

All DNS changes, etc will be passed to both machines and all domains can point to same nameservers.

It's a much simpler setup, not to mention redundant.

Hope this helps,

ntwaddel
01-21-2006, 05:43 PM
yes, it is pointless to have 4 name servers setup on 2 servers :)

Josh Stein
01-21-2006, 08:55 PM
If setup properly, you should have two separate servers running DNS (for example, ns1 on one and ns2 on the second). Then you can setup DNS between all of your webservers and domain names to use those two and only those two for DNS.

Frimon86
01-22-2006, 12:57 AM
Would someone mind helping me out?

So let me see if I got this correct
Server 1 i put
ns1.adfsadfsd.com

Server 2 I put
ns2.adfsadfsd.com

So if I create a website on server 2 then i can visit adfsadfsd.com/~billybob and see the website? and if i create a user called boohoo on server 1 i can visit adfsadfsd.com/~boohoo and visit the website still right?

bqinternet
01-22-2006, 01:31 AM
So if I create a website on server 2 then i can visit adfsadfsd.com/~billybob and see the website? and if i create a user called boohoo on server 1 i can visit adfsadfsd.com/~boohoo and visit the website still right?

If ns1 and ns2 are pointing to 2 different servers, then you need to have the accounts on both servers. DNS lookups are distributed randomly between ns1 and ns2.