Logodochost
  • 首頁
  • 探索
  • 價格
  • 關於
  • 常見問題
Telegram
How to Serve Your dochost Pages From Your Own Domain
2026/09/06

How to Serve Your dochost Pages From Your Own Domain

Connect a subdomain you own, like docs.yourcompany.com, to your dochost account in three steps — one form, one CNAME record, one email. With screenshots, including the single Cloudflare setting that trips most people up.

Every page you publish on dochost lives at dochost.co/d/{slug}. On the Max plan you can put those same pages behind a domain you control instead — docs.yourcompany.com/{slug} — so a link you send a client or a class carries your name, not ours. This guide walks through the setup once, with screenshots. The whole thing takes about ten minutes, and most of that is waiting for DNS.

What you need

  • A Max subscription. Custom domains are a Max feature; see pricing.
  • A domain you own, and access to wherever its DNS is managed (Cloudflare, Namecheap, GoDaddy, Route 53, and so on).
  • A subdomain to use. docs.yourcompany.com, share.yourcompany.com, pages.yourcompany.com — any prefix you like. Bare top-level domains (yourcompany.com with no prefix) cannot be connected; if you type one, dochost proposes docs.yourcompany.com and lets you change the prefix.

You can connect up to two domains per account.

Step 1 — Add your domain in dochost

Open Settings → Domains and click Add a domain. Type the subdomain and click Add domain.

dochost Settings → Domains, with docs.acme-studio.com typed into the Add a domain form

The step bar at the top of the card tracks where you are: Add your domain → Create one DNS record → We take it from here. You only do the first two.

Step 2 — Create one CNAME record at your DNS provider

As soon as the domain is added, dochost shows the exact record to create. Pick your DNS provider from the chips and the field labels switch to that provider's wording; the Open … DNS settings button deep-links to the right screen where the provider supports it.

The Create this record card, showing Type CNAME, Name docs, Target cname.dochost.co, with provider chips and an Open Cloudflare DNS settings button

The record is always the same shape:

FieldValue
TypeCNAME
Nameyour prefix, e.g. docs
Targetcname.dochost.co

Use the Copy buttons rather than retyping — a stray space in the target is the most common typo.

On Cloudflare

Cloudflare is the provider most readers use, so here is that path in full. Open your domain, go to DNS → Records, and click Add record.

Cloudflare DNS records page with the domain selector, DNS → Records menu, Add record button and the resulting CNAME row highlighted

In the dialog set Type to CNAME, Name to your prefix, and Target to cname.dochost.co. Then turn Proxy status off so it reads DNS only with a grey cloud, and click Save.

Cloudflare Add record dialog filled in as CNAME, docs, cname.dochost.co, with Proxy status switched off to DNS only

The grey cloud matters. Cloudflare turns the orange proxy cloud on by default. While the record is proxied, the certificate for your domain can never be issued, and the domain stays stuck at Verifying with no other symptom. If you only remember one thing from this page, make it DNS only.

Other providers have no proxy toggle, so there is nothing to switch off; just create the CNAME.

Step 3 — We take it from here

Back in dochost the row now shows Verifying. You can close the tab: dochost polls DNS, issues an HTTPS certificate once the record resolves, and emails you the moment the domain goes live — usually within ten minutes. If you would rather watch, Check now runs a check on the spot.

The domain row showing Verifying with a note that we'll email you when it's live

If anything is wrong, the row turns to Needs attention with a one-line reason, and the email says what to fix:

What you seeWhat it meansWhat to do
No CNAME record foundThe record has not propagated yet, or was created on a different nameWait a few minutes, check the Name field, then Check now
CNAME points somewhere elseThe target is not cname.dochost.coEdit the record's target
Record is proxiedCloudflare's orange cloud is onSwitch the record to DNS only
Already connected elsewhereAnother dochost account holds this hostnameRemove it there, or reply to the email
Verification timed outSeven days passed with no recordCreate the record, then Retry

When it is live

Your first custom domain becomes the primary address automatically: every page you publish from now on gets a docs.yourcompany.com/… link, in the dashboard, the success panel, the browser extension and the MCP tools alike.

Settings → Domains after setup: the custom domain marked PRIMARY and Live, a second domain and the dochost subdomain listed as aliases, and dochost.co/d always available

A few things worth knowing about that screen:

  • Every address keeps working. Links you already shared on dochost.co/d/… still resolve, and so does a second domain or a yourname.dochost.co subdomain. Primary only decides which one new links use. Change it with Set as primary at any time.
  • Pages themselves do not change. Your documents are still stored once; the domain is just another door to the same page. Passwords, expiry and analytics carry over.
  • Removing a domain stops links on that hostname, but the pages stay published and reachable at every other address.
  • If you leave Max, your custom domains stop serving and links fall back to dochost.co/d. The setup is kept for 90 days, so re-subscribing brings the domain back without redoing DNS.
  • Dialogs say sandbox--{slug}.dochost.co. When a page's own script calls alert() or confirm(), the browser names the per-document sandbox origin, even on your domain. That is by design: each published page runs in its own isolated origin, which is what keeps one page from reading another's data.

Try it

Upgrade to Max, open Settings → Domains, and add the subdomain you want. If the record is right, you will have the email before you finish your coffee.

全部文章

作者

avatar for dochost Team
dochost Team

分类

  • Guides
What you needStep 1 — Add your domain in dochostStep 2 — Create one CNAME record at your DNS providerOn CloudflareStep 3 — We take it from hereWhen it is liveTry it

更多文章

How to Publish a Claude Artifact as a Standalone Webpage
Guides

How to Publish a Claude Artifact as a Standalone Webpage

Two ways to put a Claude artifact on a real URL — Claude's built-in Publish button, or pasting the code into dochost for a plain standalone link.

avatar for dochost Team
dochost Team
2026/06/25
Edit a Page You Already Published — Without an Account
Product

Edit a Page You Already Published — Without an Account

Published a page, then spotted a typo? dochost now gives you an edit link alongside the share link, so you can update the page in place and keep the URL.

avatar for dochost Team
dochost Team
2026/08/09
How to Share the HTML ChatGPT Writes (Without Saving a File)
Guides

How to Share the HTML ChatGPT Writes (Without Saving a File)

ChatGPT writes you a full HTML page, but it's stuck in the chat as code. Here's how to turn it into a link your team or client can open.

avatar for dochost Team
dochost Team
2026/06/06

邮件列表

加入我们的社区

订阅邮件列表,及时获取最新消息和更新

Logodochost

貼上 AI 生成的 Markdown 或 HTML,送出一個同事可以直接打開的乾淨連結。

免費開始
產品
  • Telegram Bot
  • Browser Extension
  • Integrations
  • 功能
  • 價格
  • MCP server
  • 常見問題
資源
  • 部落格
使用情境
  • PDF to Markdown
  • Word to Markdown
  • Markdown to Word
  • CSV to Markdown
  • Markdown to Google Docs
  • Markdown to Excel
  • Markdown to HTML
  • HTML to Markdown
  • URL to Markdown
  • Markdown Preview
  • Free HTML Hosting
  • Share ChatGPT HTML
  • All tools
關於
  • 關於我們
  • 聯絡我們
  • 更新紀錄
法律
  • Cookie 政策
  • 隱私權政策
  • 服務條款
© 2026 dochost All Rights Reserved.
Featured on Corey.ToolsFeatured on ToolDirsFazier badgeFeatured on Twelve ToolsFeatured on Twelve ToolsFeatured on Wired BusinessFeatured on Wired BusinessFeatured on toolfame.comFeatured on doforai.toolsMossAI ToolsFeatured on ufind.bestFeatured on aitoolfame.comFeatured on Findly.toolsFeatured on saasfame.comFeatured on Aura++Launched on 21st Tools