Skip to content

Document custom hostname setup for Cloudflare-proxied domains#6154

Merged
aicortez merged 2 commits into
mainfrom
alejandro/cloudflare-proxied-custom-domain
Jun 11, 2026
Merged

Document custom hostname setup for Cloudflare-proxied domains#6154
aicortez merged 2 commits into
mainfrom
alejandro/cloudflare-proxied-custom-domain

Conversation

@aicortez

@aicortez aicortez commented Jun 11, 2026

Copy link
Copy Markdown
Contributor

Summary

A customer whose domain was already proxied through Cloudflare (orange cloud) was blocked setting up their custom domain. The docs tell users to wait until both verification TXT records show as verified before updating the CNAME, but that pre-validation never completes for Cloudflare-proxied domains — even when the records resolve correctly via dig or DNSChecker.

This PR adds a "Cloudflare-proxied domains" section to customize/custom-domain.mdx explaining:

  • Why TXT pre-validation does not complete for proxied domains
  • The setup order to follow instead (add TXT records, update the CNAME without waiting, then let verification and TLS provisioning complete)
  • The DNS-only (gray cloud) alternative for zero-downtime migrations

It also links to the new section from the existing warning so proxied users don't get stuck waiting on verification.

Test Plan

  • Confirm the in-page anchor in the warning resolves to the new "Cloudflare-proxied domains" heading
  • Review the proxied-domain setup steps for technical accuracy

🤖 Generated with Claude Code


Note

Low Risk
Documentation-only changes to custom domain guidance; no application or infrastructure code is modified.

Overview
Documents why Cloudflare-proxied (orange cloud) custom domains cannot complete TXT pre-validation before the CNAME points at Mintlify, and gives an alternate setup path so users are not blocked by the existing “wait for green checks” guidance.

The existing Warning now links to a new Cloudflare-proxied domains section. That section explains the proxy limitation, lists steps to add TXT records, update CNAME to cname.mintlify.builders without waiting on dashboard verification, and notes possible brief invalid TLS during provisioning. It also describes using DNS only (gray cloud) for zero-downtime migration via the standard pre-validation flow.

Reviewed by Cursor Bugbot for commit e1a45fa. Bugbot is set up for automated code reviews on this repo. Configure here.

TXT pre-validation cannot complete while a domain is proxied through
Cloudflare, even when the records resolve correctly. Add a section with
the setup order for proxied domains and link it from the warning.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@mintlify

mintlify Bot commented Jun 11, 2026

Copy link
Copy Markdown
Contributor

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
mintlify 🟢 Ready View Preview Jun 11, 2026, 4:30 PM

@mintlify

mintlify Bot commented Jun 11, 2026

Copy link
Copy Markdown
Contributor

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
smartac 🟢 Ready View Preview Jun 11, 2026, 4:38 PM

💡 Tip: Enable Workflows to automatically generate PRs for you.

@mintlify

mintlify Bot commented Jun 11, 2026

Copy link
Copy Markdown
Contributor

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
testsignup415 🟢 Ready View Preview Jun 11, 2026, 4:43 PM

💡 Tip: Enable Workflows to automatically generate PRs for you.

@ethanpalm ethanpalm left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

a tiny style nit but lgtm!

Comment thread customize/custom-domain.mdx Outdated
Co-authored-by: Ethan Palm <56270045+ethanpalm@users.noreply.github.com>
@aicortez aicortez merged commit 3eb2d09 into main Jun 11, 2026
2 of 4 checks passed
@aicortez aicortez deleted the alejandro/cloudflare-proxied-custom-domain branch June 11, 2026 16:56
@mintlify

mintlify Bot commented Jun 11, 2026

Copy link
Copy Markdown
Contributor

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
adminroletesting 🔴 Failed Jun 11, 2026, 5:04 PM

💡 Tip: Enable Workflows to automatically generate PRs for you.

@mintlify

mintlify Bot commented Jun 11, 2026

Copy link
Copy Markdown
Contributor

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
hfh-d7a4d643 🔴 Failed Jun 11, 2026, 5:23 PM

💡 Tip: Enable Workflows to automatically generate PRs for you.

@mintlify

mintlify Bot commented Jun 11, 2026

Copy link
Copy Markdown
Contributor

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
gwgwgw 🔴 Failed Jun 11, 2026, 5:42 PM

💡 Tip: Enable Workflows to automatically generate PRs for you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants