Self-Hosted Documentation

Self-hosted documentation is only available for the enterprise plan.

Fern documentation websites are hosted on Fern’s infrastructure by default. Self-hosting allows you to deploy your documentation site on your own infrastructure to meet specific security or compliance requirements.

When to Use Self-Hosting

Self-hosting is typically required for organizations that operate without internet access, have strict compliance requirements, or need full control over their documentation servers.

When you self-host, you’re responsible for server setup, security, maintenance, and deciding how to make the documentation accessible to your users.

Unless you have specific requirements that prevent using Fern’s default hosting, we recommend using our managed hosting solution for easier setup and maintenance.

Feature Support

Self-hosted deployments include core Fern documentation website features like auto-generated API references, interactive documentation, SDK code snippets, search, and customizable branding.

However, features requiring external connections aren’t supported, including Ask Fern (AI chat), analytics, live API key population, and SSO integrations.

Extended feature support

PDF export and offline AI chat functionality are in development for self-hosted deployments. Email us if you’re interested in these features.

Setup Process

Fern provides your documentation site as a ready-to-run Docker container that you can deploy on your own infrastructure.

  1. Download the Docker image - Fern provides the location of the most up-to-date Docker image containing the documentation frontend
  2. Upload your fern folder - Add your documentation source files to the container
  3. Run the container - Spin up your local server using standard Docker commands
  4. Configure hosting - Set up your server environment and decide how to publish/share the documentation
  5. Receive updated Docker images - Fern releases new versions of the Docker image that your team can evaluate and deploy when ready.

Architecture Diagram