Setup Multiple Cpanel/WHM Servers

slickminds

Member
Dec 26, 2022
5
1
3
Acworth, GA
cPanel Access Level
Root Administrator
Hi there,

I need someone to walk me through this, please. I need help wrapping my head around setting up multiple servers.

I have two servers, host1.mydomain.net and host2.mydomain.net.

host1.mydomain IP addresses are x.x.x.2 - x.x.x.9
host2.mydomain IP addresses are x.x.x.10 - x.x.x.20

First questions - regarding name servers.

Do I setup my nameservers as

ns1.mydomain.net x.x.x.2
ns2.mydomain.net x.x.x.10

or

ns1.mydomain.net x.x.x.2
ns2.mydomain.net x.x.x.3
ns3.mydomain.net x.x.x.10
ns4.mydomain.net x.x.x.11

Second question - domains

Do I create mydomain.net on both servers? or on host1.mydomain.net only?

Final Question - Clustering

If I am clustering, the DNS is on both servers, correct?
 
Last edited by a moderator:

retechpro

Well-Known Member
Dec 23, 2022
141
16
18
Pakistan
cPanel Access Level
Root Administrator
First you can create same ns for both server without clustering.
Second you have to create mydomain.net on first server and add records of second server in server1.

Let me know if you have any other question
 

cPRex

Jurassic Moderator
Staff member
Oct 19, 2014
16,634
2,629
363
cPanel Access Level
Root Administrator
I'll further clarify - you can use the same domain for your nameserver on each machine, but it can't be the same exact nameserver name. The outline you presented as this:

Code:
ns1.mydomain.net x.x.x.2
ns2.mydomain.net x.x.x.3
ns3.mydomain.net x.x.x.10
ns4.mydomain.net x.x.x.11
would work just fine to have one nameserver on each machine if that is how you want to configure things.

If you'd rather set up a DNS cluster, you could do that as well, and then all your web servers would have a central DNS server.