Admins can use the Fern Dashboard to configure any of the following custom domain types:
docs.mydomain.commydomain.com/docsmydomain.comThe Dashboard automatically provides the correct DNS records based on your domain type.
Alternatively, you can set up your custom domain by manually configuring DNS records.
In the Domains section of the Overview tab, select Add Custom Domain and enter your domain. The dashboard displays the DNS records you need to configure.
Log in to your domain registrar and add the DNS records shown in the Fern Dashboard. The specific records depend on your domain type (subdomain, subpath, or root domain).
Subpath hosting needs more than DNS — your infrastructure has to forward requests from the subpath to Fern’s origin with the x-fern-host header set to your bare domain. Follow the reverse proxy setup instructions for your provider (Cloudflare Workers, AWS CloudFront, Netlify, Vercel, Nginx, Akamai, or Caddy). Skip this step for subdomain or root domain hosting.
For multi-source sites — where multiple repositories publish to the same custom domain on different sub-paths — the Dashboard exposes a Multi-repo settings card on the domain’s Settings tab. These settings apply to the whole domain, not per sub-path.
The card configures:
See Multi-source docs for the full setup walkthrough.