Put your help center on a sub-folder with Netlify
Serve your help center at a path on a site hosted on Netlify, such as yourcompany.com/help, with proxy rules in netlify.toml.
Needs a payment method on file, which a trial with a card meets. Owners and admins can change this.
Set the sub-folder in Ferndesk
In Help Center > Customize > Custom Domain, choose Custom sub-folder, enter your site's domain and a path such as /help, and click Configure subdirectory. Copy the Proxy host we show you (it looks like yourcompany.hc.ferndesk.com). The examples below use /help and www.yourcompany.com; replace them with your own.
Add the rules
Add these rules to netlify.toml, above any catch-all rule such as /*. Use netlify.toml, not a _redirects file: Netlify only sends custom request headers from netlify.toml.
[[redirects]]
from = "/help"
to = "https://PROXY_HOST/"
status = 200
force = true
headers = {X-Ferndesk-Base-Path = "/help", X-Ferndesk-Original-Host = "www.yourcompany.com"}
[[redirects]]
from = "/help/*"
to = "https://PROXY_HOST/:splat"
status = 200
force = true
headers = {X-Ferndesk-Base-Path = "/help", X-Ferndesk-Original-Host = "www.yourcompany.com"}
[[redirects]]
from = "/_ferndesk/*"
to = "https://PROXY_HOST/_ferndesk/:splat"
status = 200
force = true
headers = {X-Ferndesk-Base-Path = "/help", X-Ferndesk-Original-Host = "www.yourcompany.com"}Replace PROXY_HOST with your proxy host and www.yourcompany.com with your site's host, then deploy. For the rule syntax, see Netlify's guide to rewrites and proxies.
Check that it works
Open https://www.yourcompany.com/help. Your help center should load with its styling, and links between articles should stay on your domain. If something is off, see Troubleshoot your help center.
For a subdomain instead, or for other hosts, see Connect a custom domain to your help center.