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 团队
dochost 团队

分类

  • 指南
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 Turn a Claude Artifact Into a PDF
指南

How to Turn a Claude Artifact Into a PDF

Claude has no export-to-PDF button, and printing from the chat prints the conversation instead. Here's the route that actually produces a clean PDF of the artifact itself.

avatar for dochost 团队
dochost 团队
2026/08/23
How to Share the HTML ChatGPT Writes (Without Saving a File)
指南

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 团队
dochost 团队
2026/06/06
Pastebin vs dochost: Raw Text vs a Rendered Page
指南

Pastebin vs dochost: Raw Text vs a Rendered Page

When Pastebin's monospace raw text is the right call, and when you actually want your Markdown or HTML rendered as a real page at a shareable link.

avatar for dochost 团队
dochost 团队
2026/06/26

邮件列表

加入我们的社区

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

Logodochost

粘贴 AI 生成的 Markdown 或 HTML,发出一个同事能直接打开的干净链接。

免费开始
产品
  • Telegram Bot
  • Browser Extension
  • Integrations
  • 功能
  • 价格
  • MCP 服务
  • 常见问题
资源
  • 博客
使用场景
  • 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