Custom domain
Serve your docs from an address of your own, like docs.example.com.
Every site is reachable at https://<slug>.docsheaf.io. Give it your own address so readers stay on
your brand — and search engines credit your domain.
Enter the domain#
Open the site's Settings → Domain and URL and enter the domain: a subdomain such as
docs.example.comor a root domain such asexample.com. Enter only the domain, withouthttps://, a port or a path. Pick one you don't use for anything else: the site takes over the whole domain.Add the DNS records#
Docsheaf shows the records to create at your DNS provider: the record that points the domain to Docsheaf, and the records that prove you own it and let us issue its certificate. Copy them exactly.
If your DNS is on Cloudflare, set these records to DNS only (grey cloud). Proxied records stop the domain from verifying.
On a root domain, most DNS providers don't allow a
CNAMErecord. If the routing record shown is aCNAME, create it as anALIASorANAMErecord, or use your provider's CNAME flattening.www.is a separate domain: a site serves only the one domain you enter.Wait for verification#
Docsheaf checks pending domains every few minutes and issues the certificate automatically. Choose Check now to look again at once. The domain turns active once ownership, the certificate and the routing all check out.
Once the domain is active, it becomes the site's canonical address: search engines, the sitemap,
llms.txt and social previews all use it. The docsheaf.io address keeps working.
Troubleshooting#
Status | What to do |
|---|---|
Pending for hours | Compare the records at your DNS provider with the ones shown, character by character. Remove any old records for the same name. |
Failed | Verification gives up after about 12 hours. Fix the records, then remove the domain and add it again. |
"Domain not allowed" | You entered a |
Custom domains are part of the Starter plan and above, and follow the site's tier. Changing or removing a domain releases the old one at once.
Was this helpful?
Last updated
View as Markdown