Hostname validation
Last updated Jun 19, 2026 Before Cloudflare can proxy traffic through a custom hostname, we need to verify your customer's ownership of that hostname.
Note
If a custom hostname is already on Cloudflare, using the pre-validation methods will not shift the traffic to the SaaS zone. That will only happen once the DNS target of the custom hostnames changes to point to the SaaS zone.
Options
If minimizing downtime is more important to you, refer to our pre-validation methods.
If ease of use for your customers is more important, review our real-time validation methods.
Hostname validation and certificate validation
Hostname validation and certificate validation use different tokens and API fields.
ownership_verificationandownership_verification_httpvalidate hostname ownership and affect the custom hostnamestatus.ssl.validation_recordsvalidates certificate issuance and affectsssl.status.
For production traffic, the hostname should have status: active, ssl.status: active, and DNS that points to your SaaS target.
Limitations
Custom hostnames using another CDN are not compatible with Cloudflare for SaaS. Since Cloudflare must be able to validate your customer's ownership of the hostname you add, if their usage of another CDN obfuscates their DNS records, hostname validation will fail.
Migrate a hostname from another SaaS provider
If you are onboarding a hostname that is currently active on another Cloudflare for SaaS provider, follow these steps to minimize downtime:
- Create the custom hostname on your zone and complete pre-validation so it reaches
status: activebefore the DNS change. - Issue and validate the certificate (using TXT or Delegated DCV) so
ssl.statusreachesactive. - Ask your customer to update their DNS CNAME to point to your SaaS target.
- Confirm traffic has switched to your zone. The previous provider can then delete their custom hostname.
Note
Multiple SaaS providers can hold an active custom hostname for the same domain simultaneously. Cloudflare routes traffic based on where the DNS CNAME points — the target determines which SaaS zone receives the traffic.
Related resources
- Pre-validation
- Real-time validation
- Zero-downtime migration
- Backoff schedule
- Validation status
- Error codes
Was this helpful?
YesNo
On this page
{"@context":"https://schema.org","@type":"TechArticle","@id":"https://developers.cloudflare.com/cloudflare-for-platforms/cloudflare-for-saas/domain-support/hostname-validation/#page","headline":"Hostname validation","description":"Verify customer ownership of custom hostnames before proxying traffic.","url":"https://developers.cloudflare.com/cloudflare-for-platforms/cloudflare-for-saas/domain-support/hostname-validation/","inLanguage":"en","image":"https://developers.cloudflare.com/cloudflare-for-platforms/cloudflare-for-saas/domain-support/hostname-validation/og.png?v=228ad96b50baa383","dateModified":"2026-06-19","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: Retry schedule for custom hostname validation over a seven-day period. title: Backoff schedule image: https://developers.cloudflare.com/cloudflare-for-platforms/cloudflare-for-saas/domain-support/hostname-validation/backoff-schedule/og.png?v=82584f37272d49e7
Documentation Index
Fetch the complete documentation index at: https://developers.cloudflare.com/cloudflare-for-platforms/llms.txt
Use this file to discover all available pages before exploring further.
Docs