How do I create a subzone aka delegate a subdomain? Print

  • 0

Question

How do I create a subzone, aka delegate a subdomain?

 

Answer

There may be times you need to allow a subdomain to be managed by a different set of name servers. This aims to help walk you through setting up and delegating the name servers for a subdomain.

In order to delegate a subdomain, such as app.example.com, we need to tell the DNS resolvers where to find the zone file.

Note: The following steps only work if the domain has its DNS managed by the cPanel server.

  1. Log in to WHM as the root user
  2. Navigate to Home / DNS Functions / DNS Zone Manager
  3. Find the domain you would like to delegate the subdomain to and click Manage to the right of the domain
  4. Click + Add Record
  5. Add the NS and A records for the subdomain nameservers. For example:

    app NS ns1.app.domain.com.
    app NS ns2.app.domain.com.
    ns1.app A 192.0.2.1 
    ns2.app A 192.0.2.2

Once that is done, you can add the new zone, app.example.com as a zone on the new name servers you set up and continue to manage the records for this domain on the new server.


Was this answer helpful?
Back

Send Message