Skip to main content
Host your documentation at a subpath like your-domain.com/docs to keep your docs on your main domain, which makes them easier to find and maintains a cohesive brand experience for your users.

Set up by hosting provider

Setting up a /docs subpath varies depending on your hosting provider. Choose your hosting provider and follow the setup instructions.
  • Cloudflare: Set up Cloudflare Workers for your domain to serve your documentation at the /docs subpath.
  • AWS Route 53 and CloudFront: Deploy your documentation at the /docs subpath using AWS with Route 53 DNS and CloudFront CDN.
  • Vercel - Use rewrites to deploy your documentation at the /docs subpath.
  • Custom reverse proxy - For other hosting platforms, set up a reverse proxy to deploy your documentation at the /docs subpath.

Additional configuration for strict security policies

If you proxy all traffic on your custom domain, you may need to configure headers added by your proxy or firewalls to ensure that your documentation is served correctly.

Custom subpaths

If you need your documentation at a subpath other than /docs (for example, /help or /guides), contact the Mintlify team with details about your desired path and hosting setup.