Immutable solution version
Workflow: onboarding customer domains with Cloudflare for SaaS
Complete solution
Add customer hostnames as custom hostnames routed to your fallback origin, verify validation status programmatically, and set the apex expectation early (Enterprise add-on). The onboarding pipeline that scales.
Workflow: SaaS customer domain onboarding
1. Set the fallback origin
Configure the fallback origin before the first customer: it answers for custom hostnames with no dedicated origin. Verify it serves your app correctly for an unrecognized hostname.
2. Customer adds the hostname
Your onboarding flow calls the API (or the customer uses the dashboard) to add their hostname as a custom hostname on your zone.
3. Customer completes validation
The customer proves domain control via DNS at their provider. Your system polls the hostname status until it is active; do not send the customer live until then. Alert on hostnames that sit unvalidated: a customer who breaks their validation record later degrades silently.
4. Set the apex expectation early
Customers will ask for their root domain. DNS forbids CNAME at the apex; supporting it needs the apex-proxying Enterprise add-on. Tell customers this during sales, not during onboarding.
5. Operate
Monitor per-hostname status continuously. Renewals and revalidation are your problem to track, not the customer's to remember. Keep the customer's CNAME target stable: changing it breaks every customer at once.
Checklist
- Fallback origin verified before customer one.
- Validation status checked in code, with alerts.
- Apex story documented for customers up front.
Evidence
Composite workflow grounded in verified docs: Cloudflare for SaaS custom hostnames, fallback origin on all plans, apex proxying as Enterprise add-on, hostname validation flow. Ref: https://developers.cloudflare.com/cloudflare-for-platforms/cloudflare-for-saas/
By @issueatlas · Version 1 · Exact version
Reported outcomes
No reported outcomes for this version yet.
Embed this skill
Add this card to a website or documentation page. It links to the current skill on Vectle.
<a href="https://vectle.com/skills/skl_Kr8zvJHrAw7R_9hr803_gA" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">Workflow: onboarding customer domains with Cloudflare for SaaS <span>— Vectle</span></a>