Parent zone on partial setup
Last updated Apr 16, 2026 When the parent zone is using a CNAME setup (partial)<sup>1</sup>, 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:
- 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.
- Complete the configuration accordingly for full or secondary setup.
- After creating the DNS records on the child zone, add the Cloudflare nameservers as
NSrecords at your external DNS provider. -
Within a short period of time, the child zone should be active.
-
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.
- Select either Business or Enterprise as your zone plan and complete the onboarding flow according to your needs.
- On the Overview page ↗︎, select Convert to CNAME DNS Setup.
- Confirm that you have created all the DNS records needed for your child zone.
- On the DNS Records ↗︎ page, get the Verification TXT Record and add it at your authoritative DNS provider.
<details>
<summary>
Example verification record
</summary>
A verification record for <code>sub.example.com</code> might be:
| Type | Name | Content |
|---|---|---|
| TXT | <code>cloudflare-verify.sub.example.com</code> | 966215192-518620144 |
If your authoritative DNS provider automatically appends DNS record <code>name</code> fields with your domain, make sure to only insert <code>cloudflare-verify</code> as the record name. Otherwise, it may result in an incorrect record name, such as <code>cloudflare-verify.sub.example.com.sub.example.com</code>.
After creating the record, you can use this <a href="https://digwebinterface.com/?type=TXT&ns=auth&nameservers=">Dig Web Interface link ↗︎</a> to search (<code>dig</code>) for <code>cloudflare-verify.<YOUR DOMAIN></code> and validate if it is working.
</details>
That record must remain in place for as long as your subdomain is active on the CNAME setup (partial) on Cloudflare.
- Within a short period of time, the child zone should be active.
- At your authoritative DNS provider, add
CNAMErecords pointing to{your-hostname}.cdn.cloudflare.netfor the subdomain you have added and any deeper subdomain records you want to proxy through Cloudflare.
<details>
<summary>
Example CNAME record at authoritative DNS provider
</summary>
The <code>CNAME</code> record for <code>sub.example.com</code> would be:
sub.example.com CNAME sub.example.com.cdn.cloudflare.net
</details>
Subdomain already exists
If you have already created a DNS record covering your subdomain in the parent zone:
- 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.
- Complete the configuration accordingly for full or secondary setup.
- 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 forapi.www.example.com.
Note
If your child zone is on a primary setup (full), consider exporting records from the parent zone, deleting all unnecessary records, and then importing the records into your new zone.
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. On the DNS Records ↗︎ page of the parent zone, delete any A, AAAA, or CNAME records referencing the subdomain or any of its deeper subdomains.
- 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.
- Select either Business or Enterprise as your zone plan and complete the onboarding flow according to your needs.
- On the Overview page ↗︎, select Convert to CNAME DNS Setup.
- In your child zone, re-create all DNS records that relate to your subdomain. This includes all DNS records deeper than the subdomain you used to create the zone - if you are creating a zone for
www.example.com, you should also move over records forapi.www.example.com.
Note
Cloudflare recommends exporting records from the parent zone, deleting all unnecessary records, and then importing the records into your new zone. 5. Make sure that you migrate over any settings (WAF custom rules, Rules, Workers, and more) that might be needed for the child zone. 6. In the child zone, order an advanced SSL certificate that covers the child subdomain and any deeper subdomains. 7. On the DNS Records ↗︎ page, get the Verification TXT Record and add it at your authoritative DNS provider.
<details>
<summary>
Example verification record
</summary>
A verification record for <code>sub.example.com</code> might be:
| Type | Name | Content |
|---|---|---|
| TXT | <code>cloudflare-verify.sub.example.com</code> | 966215192-518620144 |
If your authoritative DNS provider automatically appends DNS record <code>name</code> fields with your domain, make sure to only insert <code>cloudflare-verify</code> as the record name. Otherwise, it may result in an incorrect record name, such as <code>cloudflare-verify.sub.example.com.sub.example.com</code>.
After creating the record, you can use this <a href="https://digwebinterface.com/?type=TXT&ns=auth&nameservers=">Dig Web Interface link ↗︎</a> to search (<code>dig</code>) for <code>cloudflare-verify.<YOUR DOMAIN></code> and validate if it is working.
</details>
That record must remain in place for as long as your subdomain is active on the CNAME setup (partial) on Cloudflare.
- Within a short period of time, the child zone should be active.
- On the DNS Records ↗︎ page of the parent zone, delete any previous
A,AAAA, orCNAMErecords referencing the subdomain or any of its deeper subdomains. - At your authoritative DNS provider, confirm you have
CNAMErecords pointing to{your-hostname}.cdn.cloudflare.netfor the subdomain you have added and any deeper subdomain records you want to proxy through Cloudflare.
<details>
<summary>
Example CNAME record at authoritative DNS provider
</summary>
The <code>CNAME</code> record for <code>sub.example.com</code> would be:
sub.example.com CNAME sub.example.com.cdn.cloudflare.net
</details>
Footnotes
- Meaning that another DNS provider - not Cloudflare - maintains your Authoritative DNS. ↩
Was this helpful?
YesNo
On this page
{"@context":"https://schema.org","@type":"TechArticle","@id":"https://developers.cloudflare.com/dns/zone-setups/subdomain-setup/setup/parent-on-partial/#page","headline":"Parent zone on partial setup","description":"Set up subdomain zone when parent uses partial setup.","url":"https://developers.cloudflare.com/dns/zone-setups/subdomain-setup/setup/parent-on-partial/","inLanguage":"en","image":"https://developers.cloudflare.com/dns/zone-setups/subdomain-setup/setup/parent-on-partial/og.png?v=343d89f458ea8622","dateModified":"2026-04-16","publisher":{"@type":"Organization","name":"Cloudflare","description":"One platform for your apps, agents, and workforce. Build, secure, and scale without managing infrastructure","url":"https://www.cloudflare.com/","sameAs":["https://github.com/cloudflare","https://www.linkedin.com/company/cloudflare","https://x.com/cloudflare"],"logo":{"@type":"ImageObject","url":"https://developers.cloudflare.com/logo.svg"},"address":{"@type":"PostalAddress","streetAddress":"101 Townsend St","addressLocality":"San Francisco","addressRegion":"CA","postalCode":"94107","addressCountry":"US"},"contactPoint":[{"@type":"ContactPoint","contactType":"Customer Support","url":"https://support.cloudflare.com/","availableLanguage":["English"]},{"@type":"ContactPoint","contactType":"Sales","url":"https://www.cloudflare.com/contact/","availableLanguage":["English"]}]},"isPartOf":{"@type":"WebSite","@id":"https://developers.cloudflare.com/#website","name":"Cloudflare Docs","url":"https://developers.cloudflare.com/"}}
description: Troubleshoot issues when adding a domain to Cloudflare, including DNSSEC conflicts, registrar errors, and restriction codes. title: Cannot add domain image: https://developers.cloudflare.com/dns/zone-setups/troubleshooting/cannot-add-domain/og.png?v=d69fb2c58219214c
Documentation Index
Fetch the complete documentation index at: https://developers.cloudflare.com/dns/llms.txt
Use this file to discover all available pages before exploring further.
Docs