hockeylkp.blogg.se

Typical dns setup cpanel whm
Typical dns setup cpanel whm










Repeat the same process if you created a second name server. In this case, you will enter “” and its DO IP address.

typical dns setup cpanel whm

Registering a nameserver should be a simple form that asks for a nameserver hostname and IP address. E.g., if you’ve created a server using the hostname “”, then log into the Registrar account for and look for a place to register nameservers. You need to register your nameservers with the domain registrar where you registered the domain name used by your DNS server. Repeat this process if you’ve created a second DNS-Only server (e.g., .) A second DNS zone called “” with an “A” record pointing to the same IP address.

  • After connecting your DNS server to a cPanel DNS cluster, you will create two DNS zones as follows: one for with an “A” record for “ns1” that points to the DNS servers’ IP address.
  • cPanel provides separate documentation for adding a DNS-Only server to a DNS cluster. If not, you’ll need to edit zone files from the DNS servers’ command line.
  • When the setup is complete, you’ll need to add your new DNS server to a new or existing cPanel DNS cluster if you want to be able to manage DNS zones from WHM.
  • When providing the nameservers during the cPanel set up the IP address for the “A” records should match the IP addresses that were assigned to the Droplet(s) by DO.
  • During the cPanel installation you’ll be asked to provide nameservers for the server use “” and “” (assuming you will set up two cPanel DNS-Only servers.) If you wanted the name server hostname “”, make sure the droplet hostname is also.
  • Make sure the hostname you give the droplet matches the hostname of the nameserver you are creating (E.g.
  • Create your droplet, install and configure cPanel DNS-Only.
  • typical dns setup cpanel whm

    I’ve set up several cPanel DNS-Only servers on DO droplets.

    typical dns setup cpanel whm

    Now once the new registrations propagate (this could take up to 24-48 hours but is often quicker), you will be able to create domains and sites directly in cPanel/WHM after pointing the domain(s) to / You’ll create an and and point them to your droplet’s IP addresses. It may also be possible (I have not tested this) to use your main ipv4 address and a floating IP for the same effect.Ģ.) With your domain registar, GoDaddy in this case, you will want to register new nameservers by creating nameserver glue records. Note: while it’s not recommended, some registrars may allow you to create your two nameservers with the same IP address. Instead what you’ll want to do:ġ.) It is recommended to have a secondary DNS server, your cPanel/WHM server can act as your primary and cPanel offers free DNS-Only licenses for a lightweight version for use on your secondary server(s). cPanel/WHM includes a fully functional and integrated DNS server of it’s own. In order for you to manage your domains in cPanel/WHM you cannot use the DigitalOcean DNS servers.












    Typical dns setup cpanel whm