Setup (2)
Last updated Apr 29, 2026 Availability
Subdomain setup is only available for Enterprise accounts. If you only want to create a subdomain for your site in Cloudflare, refer to Create a subdomain record.
Subdomain setup relies on a process known as delegation. When, in a parent domain such as example.com, an NS record ↗︎ is created for a subdomain blog.example.com, this means that DNS management for the subdomain can be done separately, in its own DNS zone.
flowchart TD
accTitle: Example of parent zone and subdomains
A[<code>example.com</code>] --> B[<code>docs.example.com</code>]
A[<code>example.com</code>] --> C[<code>blog.example.com</code>]
subgraph Parent domain
A
end
subgraph Subdomains
B
C
end
Available setups
When configuring a subdomain setup, its availability will depend on both the parent zone setup and the setup used for the child zone. A child zone holds DNS management for a delegated subdomain.
| Parent zone | Child zone | Available |
|---|---|---|
| Full or Secondary | Full | Yes |
| Full or Secondary | Secondary | Yes |
| Full or Secondary | Partial | No |
| Partial | Full | Yes |
| Partial | Secondary | Yes |
| Partial | Partial | Yes |
Subdomain zones in partial setup are not delegated
Subdomains using a CNAME setup (partial) represent an exception in the sense that delegation does not apply in this context. As explained in the dedicated CNAME setup (Partial) section, this setup is intended to simply proxy individual subdomains through Cloudflare. For completeness, however, this is listed as an option in this table and the how-to guide has detailed explanation on how to achieve a subdomain zone using a CNAME setup (partial).
This table assumes zones that are in an active status. For example, if you need to add the parent zone to Cloudflare when its child zone already exists in a CNAME setup (partial), you can convert the parent zone to a CNAME setup (partial) while it is still in pending status.
How to
Refer to the following guides to learn how to configure a subdomain setup depending on the setup used for the parent zone:
Although the how-to guides in this documentation are focused on both parent domains and subdomains existing in Cloudflare, it is also possible to achieve a subdomain setup in Cloudflare while the parent domain exists in a different DNS provider.
SSL/TLS certificates
When using subdomain setup, you should consider possible interactions between parent zone and child zone configurations that could impact SSL/TLS certificates provisioning.
If a certificate is already active on the child zone for a specific hostname (subdomain.example.com), any certificate pack containing that exact hostname in the parent zone (example.com) will fail validation.
Access applications
To use subdomain setups with Cloudflare Access, note that:
- If the child zone is in a pending state when you create the Access application, your configuration will not automatically apply when you activate the zone. You must also re-save the Access application once your subdomain setup is active.
- If you split out a subdomain which already has an Access application, you will also need to re-save the Access application to associate it with the new child zone.
Was this helpful?
YesNo
On this page
{"@context":"https://schema.org","@type":"TechArticle","@id":"https://developers.cloudflare.com/dns/zone-setups/subdomain-setup/setup/#page","headline":"Setup","description":"Set up a subdomain zone in Cloudflare.","url":"https://developers.cloudflare.com/dns/zone-setups/subdomain-setup/setup/","inLanguage":"en","image":"https://developers.cloudflare.com/dns/zone-setups/subdomain-setup/setup/og.png?v=96bb1374ef08a9cd","dateModified":"2026-04-29","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: Set up subdomain zone when parent uses full setup. title: Parent zone on full setup image: https://developers.cloudflare.com/dns/zone-setups/subdomain-setup/setup/parent-on-full/og.png?v=41c25d0a8c7390b1
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