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

docs.example.com

cname.docubara.com

TXT

_docubara-verify.docs.example.com

docubara-verify=…

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.

domainsdns
Last updated