Custom Domains
Serve your docs from docs.example.com or example.com/docs.
Connect your own domain in Integrations → Custom domains.
DNS records#
Type | Name | Value |
|---|---|---|
CNAME |
|
|
TXT |
|
|
Click Verify once the records have propagated. TLS certificates are issued automatically after verification.
Serving under a sub-path#
To publish at example.com/docs, proxy the path to Docubara and forward the original host:
location /docs/ {
proxy_pass https://cname.docubara.com/;
proxy_set_header Host example.com;
proxy_set_header X-Forwarded-Prefix /docs;
proxy_set_header X-Forwarded-Proto $scheme;
}
All links, assets and the search index respect the forwarded prefix automatically.