Skip to content

Parent zone on partial setup

When the parent zone is using a partial setup1, the steps to set up your child zone depend on whether the subdomain already exists in the parent domain.

Subdomain does not exist

If you have not yet created a DNS record covering your subdomain in the parent zone:

  1. Add the subdomain to a Cloudflare account as a new zone. It can be the same account where the parent zone exists or a different one.
  2. Complete the configuration accordingly for full or secondary setup.
  3. After creating the DNS records on the child zone, add the Cloudflare nameservers as NS records at your external DNS provider.
  4. Within a short period of time, the child zone should be active.

Subdomain already exists

If you have already created a DNS record covering your subdomain in the parent zone:

  1. Add the subdomain to a Cloudflare account as a new zone. It can be the same account where the parent zone exists or a different one.

  2. Complete the configuration accordingly for full or secondary setup.

  3. In your child zone, re-create all DNS records that relate to your subdomain. This includes all DNS records deeper than the delegated subdomain, meaning that if you are delegating www.example.com, you should also move over records for api.www.example.com.

  4. Make sure that you migrate over any settings (WAF custom rules, Rules, Workers, and more) that might be needed for the child zone.

  5. In the child zone, order an advanced SSL certificate that covers the child subdomain and any deeper subdomains.

  6. Get the Cloudflare nameservers for the subdomain and add them as NS records at your external DNS provider.

  7. Within a short period of time, the child zone should be active.

  8. Within the DNS > Records of the parent zone, delete any A, AAAA, or CNAME records referencing the subdomain or any of its deeper subdomains.

Footnotes

  1. Meaning that another DNS provider - not Cloudflare - maintains your Authoritative DNS.