Harkirat Chahal
Growth
Share this article
Harkirat Chahal
Growth
Share this article

Yes. Mintlify supports custom domains on every plan, including Free, and can host your docs at a domain, a subdomain like docs.example.com, or a subpath like example.com/docs. You add the domain in the dashboard, create two TXT records and a CNAME to cname.mintlify.builders, and Mintlify issues a free TLS certificate through Let's Encrypt.
Yes. Mintlify supports custom domains on every plan, including Free, and can host your docs at a domain, a subdomain like docs.example.com, or a subpath like example.com/docs. You add the domain in the dashboard, create two TXT records and a CNAME to cname.mintlify.builders, and Mintlify issues a free TLS certificate through Let's Encrypt.
Set up a custom domain in Mintlify
The custom domain setup has four steps.
- Open the Custom domain setup page in the dashboard, enter your domain, and click Add domain. From the terminal,
mint add-domain docs.example.comdoes the same thing and prints the DNS records. - At your DNS provider, add the two verification records the dashboard shows:
_acme-challenge.<your-domain>and_cf-custom-hostname.<your-domain>. Add theseTXTrecords first. - When both
TXTrecords show a green check in the dashboard, add theCNAMEthat points your domain tocname.mintlify.builders. - Wait for DNS and TLS. DNS changes typically take 1 to 24 hours to propagate. The certificate typically arrives within a few hours after that, and Mintlify renews it automatically.
Check these DNS settings before you start:
- Hosting at an apex domain like
example.comneeds a DNS provider that supports CNAME flattening orALIASrecords. - If your domain uses CAA records, add
0 issue "letsencrypt.org"so Let's Encrypt can issue the certificate. - If Cloudflare is your DNS provider, set SSL/TLS encryption to "Full (strict)" and turn off "Always Use HTTPS".
Host Mintlify docs at a subpath like mysite.com/docs
To use a subpath, enter your domain followed by the base path, such as example.com/docs, on the same Custom domain setup page. What happens next depends on what else runs on the domain.
If the domain hosts nothing else, point its DNS at Mintlify and Mintlify serves the docs at your subpath with no proxy. If another site runs on the domain, your app or CDN keeps receiving the traffic and proxies only the docs paths to Mintlify. The subpath guide documents four ways to do that.
| Where your site runs | Method | What you configure |
|---|---|---|
| Cloudflare | Cloudflare Worker | A Worker script. The dashboard generates it with your subdomain, domain, and base path filled in. |
| Vercel | Rewrites | rewrites entries in vercel.json that send your subpath to [subdomain].mintlify.site. |
| AWS Route 53 and CloudFront | CloudFront behaviors | A distribution with one behavior per docs path and the AllViewerExceptHostHeader origin request policy. |
| Any other host | Custom reverse proxy | nginx or a similar proxy with <your-subdomain>.mintlify.site as the target. |
Every method has the same requirement: besides your subpath, proxy /_mintlify/* and /mintlify-assets/* from the root of your domain. Those paths serve the site's CSS, JavaScript, and API requests, and pages load without styles if you proxy only the subpath.
Plans and limits for custom domains and subpaths
Custom domains are included on the Free, Pro, and Enterprise plans, and the TLS certificate is free. A subpath is set on the same Custom domain setup page as any other custom domain.
- Subpath hosting is not supported for documentation with authentication enabled. Use a domain or subdomain for docs that require sign-in. Can Mintlify host private or gated docs? lists the sign-in methods.
- A base path must start with
/, be at most 128 characters, and avoid paths Mintlify reserves, such as/api,/login, and/mcp. - Changing the base path rebuilds and redeploys the site. The site stays live at the current path until the new deployment finishes.
- Your default
<subdomain>.mintlify.siteaddress stays reachable after you add a custom domain. Set a canonical URL indocs.jsonso search engines index your own domain.
Frequently Asked Questions
Does Mintlify support custom domains?
Yes. Mintlify includes a custom domain on the Free, Pro, and Enterprise plans. You add the domain in the dashboard, create the TXT and CNAME records it shows, and Mintlify provisions and renews the TLS certificate.
How do I set up subpath hosting for Mintlify so my docs live at mysite.com/docs?
Enter mysite.com/docs on the Custom domain setup page in the Mintlify dashboard and click Add domain. Then proxy /docs, /_mintlify/*, and /mintlify-assets/* from your host to your mintlify.site address, using the Cloudflare, Vercel, AWS, or reverse proxy guide. If the domain hosts nothing else, point its DNS at Mintlify and skip the proxy.
How do I set up subpath hosting for Mintlify using Cloudflare Workers or Vercel?
On Cloudflare, add your domain and base path in the Mintlify dashboard, copy the Worker script the dashboard generates, and deploy it as a Cloudflare Worker on your domain. On Vercel, add rewrites to vercel.json for /docs, /docs/:match*, /_mintlify/:path*, and /mintlify-assets/:path+ that point to https://[subdomain].mintlify.site, plus a rewrite from /api/request to /_mintlify/api/request.
Does Mintlify provide the TLS certificate for a custom domain?
Yes. After your DNS records resolve, Mintlify generates a free SSL/TLS certificate for your site using Let's Encrypt and renews it before it expires. Provisioning typically completes within a few hours of DNS propagation.
Where to start
Follow the custom domain guide for a domain or subdomain, and the subpath guide to pick the proxy method for your host. For the wider path from a folder of Markdown to a live site, see how to turn Markdown files into a docs website. Start for free and connect your domain on the Free plan.
More to read

Can Mintlify run a customer help center?
Yes. Mintlify hosts help articles with search on every plan and an AI assistant on Pro at 25 credits per answer. Tickets stay in your help desk.
November 21, 2026Harkirat Chahal
Growth

Where is Mintlify data hosted, and who processes it?
Mintlify hosts customer data in AWS us-east-1 by default. Enterprise customers can choose EU hosting in Frankfurt or self-host in their own cloud.
November 21, 2026Harkirat Chahal
Growth

Can Mintlify show different docs to different audiences?
Yes, on Enterprise. Mintlify restricts pages to user groups passed through OAuth, JWT or emails authentication. Readers outside a group get a 404.
November 21, 2026Harkirat Chahal
Growth

Will Mintlify migrate our docs for us?
Yes, on Enterprise: the Mintlify team ports and QAs your content. Free and Pro teams self-serve with mint migrate. Contract match is up to 12 months free.
November 21, 2026Harkirat Chahal
Growth

Does Mintlify integrate with Slack, Jira, Linear and Zendesk?
Yes. Mintlify's agent works in Slack on Pro and Enterprise, and on Enterprise it connects to 23 apps including Jira, Linear, Zendesk, HubSpot and ClickUp.
November 21, 2026Harkirat Chahal
Growth

Can Mintlify replace Confluence or Notion as a knowledge base?
Yes, for knowledge kept as pages. Mintlify has private access on every plan, an AI assistant and Slack agent on Pro, and SSO with groups on Enterprise.
November 21, 2026Harkirat Chahal
Growth