Skip to main content

Multiple WHM Installations using 1 domain name and multliple glue records

Comments

13 comments

  • 701Hosting
    Maybe I want to create a cluster instead. Any ideas on how to add additional WHM VPS servers but us a new subdomain? example. host1.domain.com & host2.domain.com. I would also need an SSL cert for both servers. Does AutoSSL work that way?
    0
  • cPRex Jurassic Moderator
    Hey there! What you're trying to set up is common, and doesn't require any custom configurations. The easiest method would be to just be aware of where the DNS for your hostname and nameservers are managed. For example, your DNS for domain.com could be managed on host1.domain.com, but there's no reason you can't create A records there for host2.domain.com. The same goes with DNS - you can have nameserver.com records be on host1, but then have ns3 and ns4.nameserver.com point to host2. This would then let you create DNS records normally in cPanel and WHM just like you're used to. Let me know if you need more clarification on that!
    0
  • 701Hosting
    Awesome. Thank you. So basically just create an A records (host2.domain.com) and 2 NS records (ns5.domain.com & ns6.domain.com) on host1 (that is where the main domain is hosted) using the normal DNS. I don't have to worry about glue records at the registrar then? Will I be able to generate an SSL cert for the host2 server?
    0
  • 701Hosting
    Sorry. I'm still a little confused and just want to get this right to avoid problems. When creating a new NS records it's asking for a "valid zone name" my other NS records show domain.com. for the zone name. Do I need to create an A records for the 2nd server first and use that as the "valid zone name"? Thank You.
    0
  • cPRex Jurassic Moderator
    You'll still need to create the glue records at the registrar level to tell them those nameservers exist, as they have to be registered in order to work properly in the DNS system. Depending on your registrar, some require the DNS to be in place first before the nameserver is registered. If you're not sure what should go in their form it would be best to reach out to them directly for additional guidance.
    0
  • 701Hosting
    I have the glue records created at the registrar pointing to the new server. I'm confused to where I create the DNS records? On the new machine or on the old one. The old one manages the DNS for the domain. Do I create the DNS records on both machines?
    0
  • cPRex Jurassic Moderator
    The actual A records would get set up on the old machine, since that's where the DNS for the main zone is handled.
    0
  • 701Hosting
    Ok. So create the new NS records on the new machine? Will I be able to get an SSL cert for the new machine?
    0
  • cPRex Jurassic Moderator
    All the DNS for the nameservers themselves will be handled on the old machine as that's where the primary domain is. You're just telling the DNS system to point the nameservers over to the new system. That way, you can use the DNS on the new machine properly. Here's a little chart that might help: Main domain: domain.com, hosted on host1, DNS managed on host1 Subdomains: host1.domain.com - A record points to host1 ns1.domain.com - A record points to host1 ns2.domain.com - A record points to host1 ns3.domain.com - A record points to host2 ns4.domain.com - A record points to host2 host2.domain.com - A record points to host2 As long as the DNS is properly configured the free cPanel certificate will be applied to the hostname on each machine normally.
    0
  • 701Hosting
    Awesome. Thank you so much cPRex. I appreciate the clarification. I'll keep this thread updated on how it works.
    0
  • cPRex Jurassic Moderator
    Sure thing! Let me know how it goes!
    0
  • 701Hosting
    Everything seems to be working. Thank you so much.
    0
  • cPRex Jurassic Moderator
    Great - glad to hear things are working well!
    0

Please sign in to leave a comment.