Complete documentation for managing custom hostnames and certificates.
SaaS platforms
Build multi-tenant platforms with custom domains, isolated compute, and per-customer configuration. Cloudflare SSL for SaaS provisions and renews SSL certificates for every customer hostname. Workers for Platforms runs customer code in isolated V8 environments. D1, KV, and R2 provide per-tenant data storage. Workers Analytics Engine and Logpush track usage for billing and compliance.
- Customer domains with SSL for SaaS
- Enable customer code deployment
- Store and isolate customer data
- Protect your platform
- Observe customer usage and billing
Allow customers to use their own domains with automatic certificate management:
- SSL for SaaS provisions and renews certificates for every custom hostname
- Cloudflare for Platforms routes customer domains to your platform with per-tenant configuration
Let customers deploy their own code on your platform:
- Workers for Platforms runs customer code in isolated V8 environments
- Dispatch namespaces route requests to the correct tenant Worker based on hostname or path
- SSL for SaaS handles custom domains for each tenant
Combine custom domains, tenant compute, and isolated storage:
- SSL for SaaS manages customer hostnames and certificates
- Workers for Platforms runs per-tenant application logic
- D1 or KV stores per-tenant data with database-level or key-prefix isolation
- R2 stores per-tenant files and assets
- A Cloudflare account ↗.
- A domain added to Cloudflare for your platform (for example,
yourplatform.com). SSL for SaaS uses this as the provider domain against which customer custom hostnames are issued. Refer to Enable Cloudflare for SaaS. - A Workers Paid plan for Workers for Platforms. Dispatch namespaces, which route requests to customer-specific Workers, are not available on the free tier.
- Node.js ↗ (version 16.17.0 or later) and Wrangler installed.
- A Cloudflare account ↗.
- A domain added to Cloudflare for your platform. This is your domain, not your customers' domains. SSL for SaaS issues customer custom hostnames against this provider domain. Refer to Enable Cloudflare for SaaS.
- Node.js ↗ (version 16.17.0 or later) and Wrangler if you plan to add Workers for Platforms or manage bindings programmatically.
Let customers deploy their own code on your platform.
Explore how SaaS companies build on Cloudflare.