multiple servers - hostname question

PWSowner

Well-Known Member
Nov 10, 2001
2,948
4
343
ON, Canada
I have 2 servers. Can I use the same domain for the 2 hostnames, like server1.domain.com and server2.domain.com, or do they need to be different domains to work properly?

If I can do that, is there anything special I need to know, or can I just change one of the hostnames with WHM? Does the domain being used for the servers hostname need to be hosted on that server? If so, does that mean I just create an account for the domain on both servers and give it 4 nameservers?

I have a feeling what I'm asking may be getting into master/slave servers, but I know nothing about thatyet since I only had 1 server until last week.

Thanks for any help or information. :)

cPanel.net Support Ticket Number:
 

raventec

Well-Known Member
Apr 19, 2003
120
0
166
you can name servers exactly as you stated.

Yep master/slave system thats the way to do it.
It can be a bit of a mess if you have sites already hosted on both servers, so if you have the oportunity to start fresh with the 2nd server without any sites on it, make it the slave and the one you already have set up as the master. There's bits here and there on how to set it up.

You don't really need 4 nameservers on 2 machines. It works just fine, if you want to do it that way though.

ns1 for master and ns2 for the slave makes the most sense to me and it's simpler. (one less thing to muddle up lol) Others may have differing opinions :)

cPanel.net Support Ticket Number:
 

PWSowner

Well-Known Member
Nov 10, 2001
2,948
4
343
ON, Canada
Thanks. I don't have any important accounts on the new one yet so I can do pretty much anything with it. I'll spend the next few days trying to find out as much as possible about master/slave setups.

Any book recommendations on this? ;)

cPanel.net Support Ticket Number:
 

raventec

Well-Known Member
Apr 19, 2003
120
0
166
I would always recommend a book on DNS such as "DNS and BIND" by O'Reilly publishing (which is about as much fun to read as watching a glass of water evaporate) but to be honest, there's a couple really good posts here in the cPanel forums to get you through understanding and knocking this one out and you don't even have to wander out of the playground here :D

cPanel.net Support Ticket Number:
 

PWSowner

Well-Known Member
Nov 10, 2001
2,948
4
343
ON, Canada
I did some searching here last night and there is quite a bit of reference to it. :)

I have O'reilly's DNS and Bind book. I bought it a couple years ago, but I remember starting to look at it and deciding I have better things to do, but I guess it's time to start reading. :D

Thanks

cPanel.net Support Ticket Number:
 

raventec

Well-Known Member
Apr 19, 2003
120
0
166
no problem squirrel.
lol you might need some no-doze to get through that book.

cPanel.net Support Ticket Number: