From d8645a9952133ef4cf1f94e81d4bba338ff17a31 Mon Sep 17 00:00:00 2001 From: thhsh Date: Mon, 7 Jul 2025 15:26:03 -0400 Subject: [PATCH] DocsHub: Start custom domain info --- docs/docshub/.nav.yml | 3 ++- docs/docshub/custom_domain.md | 8 ++++++++ 2 files changed, 10 insertions(+), 1 deletion(-) create mode 100644 docs/docshub/custom_domain.md diff --git a/docs/docshub/.nav.yml b/docs/docshub/.nav.yml index 160f8ec..382ae85 100644 --- a/docs/docshub/.nav.yml +++ b/docs/docshub/.nav.yml @@ -1,3 +1,4 @@ title: DocsHub nav: - - index.md \ No newline at end of file + - index.md + - custom_domain.md \ No newline at end of file diff --git a/docs/docshub/custom_domain.md b/docs/docshub/custom_domain.md new file mode 100644 index 0000000..ef92483 --- /dev/null +++ b/docs/docshub/custom_domain.md @@ -0,0 +1,8 @@ +# Custom Domain +To use a custom domain with your documentation (`docs.yoursite.com`) instead of our hosted subdomain (`yourdocs.hosted.docshub.io`), you'll need to set up DNS records as follows: + +## For docs that DON'T require a login +If your documentation is **public** (you don't need a username/password or SSO to access the site), create a `CNAME` record pointing to `cname.docshub.io`, and then set up your custom domain through the DocsHub portal. + +## For docs that DO require a login +If your documentation is **private** (you need a username/password or SSO to access the site), create a `CNAME` record pointing to `authcname.docshub.io`, and then set up your custom domain through the DocsHub portal. \ No newline at end of file