Auth0 Custom Domain Verification Fails With "Domain conflicts with network configuration" Error
Last Updated:
Overview
An error occurs when verifying a custom domain in Auth0. In case the domain is registered in Cloudflare, it may be caused by an active zone hold or account block. Resolve this verification failure by temporarily disabling the Cloudflare zone hold or contacting Cloudflare support to remove the domain restriction.
The following error message appears in the tenant logs:
Domain conflicts with network configuration.
It can be found using the following filter:
type:custom_domain_verification_failed
Identify the specific verification failure payload by reviewing the following expanded log details:
{
"name": "custom_domains_verification_failed",
"description": "Failed to Verify the Custom Domain",
"details": {
"custom_domain_id": <redacted>,
"domain": <redacted>,
"status": "failed",
"type": "auth0_managed_certs",
"error_msg": "Domain conflicts with network configuration.",
"error": "Your custom domain verification failed, please follow our trouble shooting guide on https://auth0.com/docs/troubleshoot/integration-extensibility-issues/troubleshoot-custom-domains to investigate.",
"created_at": <redacted>
},
"type": "custom_domain_verification_failed"
}
Applies To
- Auth0
- Custom Domains
- Cloudflare
Cause
When registering a custom domain using Cloudflare, the verification fails due to one of the following reasons:
- A zone hold is active in Cloudflare.
- Cloudflare blocks or bans the domain due to unpaid bills or suspicious activity.
Solution
How is the "Domain conflicts with network configuration" error resolved?
Address the Cloudflare configuration preventing Auth0 from verifying the custom hostname by performing the appropriate action based on the root cause.
- If a zone hold is active, temporarily disable the zone hold in Cloudflare, allow Auth0 to verify the custom hostname, and then re-enable the zone hold.
- If the domain is blocked or banned, contact Cloudflare support to clarify and resolve the account block.