<owner>--<repo>-<id>.docs7.io. You can attach one custom domain per site.
Subdomains (recommended)
Add the domain in the site’s Custom domain tile. The dashboard shows the DNS records to create at your provider: a routing CNAME plus one or two verification records (a TXT record proving ownership and a certificate-validation record). Create all of them.If your DNS is on Cloudflare, set the CNAME record to “DNS only” (no proxy). A proxied record hides the origin and breaks certificate validation.
Apex domains
example.com (no subdomain) works only if your DNS provider supports CNAME flattening (ALIAS/ANAME records), since a plain CNAME at the apex is not valid DNS. If yours doesn’t, use a subdomain.
Hosting below a path
Serve the docs atexample.com/docs while the rest of the domain stays yours:
- Set the custom domain and a custom path (like
/docs) in the site settings. - Proxy that path from your own infrastructure to the Docs7 origin. The dashboard generates ready-made configuration for common hosts:
vercel.jsonrewrites for Vercel, a Worker with routes for Cloudflare, and a generic table for anything else. - Once your proxy is serving, click Mark as connected. The site stays in the Connect path state until you do.
/, letters/digits/._~/-, no //, no trailing slash, no ..; it requires a custom domain. Platform-reserved first segments (/api, /login, /mcp, /_next, /_assets, /llms.txt, /robots.txt, /sitemap.xml, /.well-known) are refused.
Rules and timing
- One domain per site, and a domain can belong to only one site anywhere.
- Domains under
docs7.iocannot be claimed as custom domains. - Changing the domain or path automatically rebuilds production, because the published site embeds its own URL.
- After removing a live domain, re-claiming it is blocked for ~2 minutes while edge caches drain. Moving a domain between sites can briefly serve the old site during that window.
- The
*.docs7.ioURL keeps working alongside the custom domain.