AnySites

// CUSTOM DOMAINS

Add a Custom Domain

Cloudflare for SaaS custom hostnames, TXT verification, and automatic cert issuance.

Custom domains route through Cloudflare for SaaS: AnySites registers your domain as a Cloudflare Custom Hostname with your project's worker node as the origin, and Cloudflare issues and manages the TLS certificate.

Steps

  1. Add the domain on the project's Domains page.
  2. AnySites returns a TXT record (name + value) for ownership verification — add it at your DNS provider.
  3. Point the domain itself at AnySites with a CNAME to your project's platform subdomain (the same {project}-{hash}.anysites.app address the project already responds on — not a shared/wildcard target). An apex domain that can't hold a CNAME needs an ALIAS/ANAME record from your DNS provider instead, or use a www subdomain.
  4. Click Verify (or wait — the platform polls automatically). Once Cloudflare validates the TXT record, it issues a certificate, which typically takes a few minutes.
  5. Once status is active, AnySites adds the domain to your project's routing and it starts serving traffic immediately, HTTPS included.

Related documentation