← All use cases
Content & Media

Custom Domains for Documentation Sites

Let companies host technical docs at their own domain. Add custom domains to your documentation platform with one API call.

Why custom domains matter for documentation platforms

Every API company eventually wants docs.theirname.com because that's where developers expect to find documentation. ReadMe, Mintlify, and GitBook all charge a premium for it. With Domainee, you can ship it on every plan without rebuilding the cert pipeline.

What your users get

  • Docs at the customer's docs.* subdomain
  • Better SEO for technical content
  • Stable URLs that don't break example code shared in the wild

How it works in 3 steps

  1. Your user types their hostname (docs.acme.com) into your UI.
  2. your documentation platform POSTs to the Domainee API to register it and gets back the CNAME the user needs to add at their DNS provider.
  3. We monitor DNS, issue the cert via Let's Encrypt, and webhook back when it's live. Usually about 60 seconds.

The code

curl -X POST https://api.domainee.dev/v1/domains \
  -H "Authorization: Bearer $DOMAINEE_API_KEY" \
  -H "content-type: application/json" \
  -d '{
    "hostname": "docs.acme.com",
    "originUrl": "https://app.your-saas.com",
    "mode": "proxy",
    "redirectWww": true,
    "metadata": { "workspaceId": "your-internal-id" }
  }'

The response includes a dnsRecords array (usually one CNAME). Show that to your user, tell them to paste it at their DNS provider, and we'll handle the rest.

For the full walkthrough, see How to let users connect a custom domain to your SaaS.

Pricing

Your first 50 customer hostnames and 100 GB of bandwidth every month are free. After that: $0.20 per domain (graduated to $0.10 at scale), $0.05/GB above 400 GB. No monthly minimum, no contract, no sales call.

Ship this in your product today

50 custom domains and 100 GB bandwidth free, forever. No credit card.

More Content & Media use cases