-1

I'm wondering how can I use the same domain to setup 3 cPanel server DNSes, instead of having a dedicated domain for each server.

Here's an example of what I want to achieve:

Server A:

Hostname: a.mydomain.com

Name Server 1: ns1.mydomain.com

Name Server 2: ns2.mydomain.com

Server B:

Hostname: b.mydomain.com

Name Server 1: ns3.mydomain.com

Name Server 2: ns4.mydomain.com

Server C:

Hostname: c.mydomain.com

Name Server 1: ns5.mydomain.com

Name Server 2: ns6.mydomain.com

Please help. Thanks.

poolie
  • 1,165
  • 1
  • 9
  • 17

2 Answers2

2

Ok, what you've got there seems very odd. You setup should look something like this:

Hostname Setup:

Hostname: mydomain.com
Name Server 1: ns1.mydomain.com
Name Server 2: ns2.mydomain.com
Name Server 3: ns3.mydomain.com
Name Server 4: ns4.mydomain.com
Name Server 5: ns5.mydomain.com
Name Server 6: ns6.mydomain.com

I assume you are using a commerical DNS hosting provider? Or do you actually have 6 DNS servers? I'm assuming hosting because if you've got the know-how to synchronise 6 DNS servers then this would be a no-brainer for you.

So, log into your DNS hosting provider, and then create a records for your subdomains inside your zone for mydomain.com, such as

  • a - x.x.x.x
  • b - y.y.y.y
  • c - z.z.z.z

(where x/y/z are the IP addresses of your actual servers).

Mark Henderson
  • 68,823
  • 31
  • 180
  • 259
0

All three would have the same pair of nameservers. Just point each individual hostname at the addresses homed at the appropriate server.

Ignacio Vazquez-Abrams
  • 45,939
  • 6
  • 79
  • 84