Custom domain

Request a hostname you own for your hosted docs repository and learn what to prepare before going live.

Before you begin

  • A docs.page site already live on a public GitHub repository; see Public GitHub hosting
  • The hostname you want (for example docs.example.com) and admin access to its DNS
  • If a shorter URL on docs.page is enough, see Vanity subdomains — no request or DNS changes required

Custom domain mappings are one hostname, one repository. You cannot point the same hostname at multiple docs repos.


Request a custom domain

Open a GitHub issue on invertase/docs.page and include:

  • Your GitHub repository (owner/repo)
  • The hostname you want (for example docs.example.com)
  • Whether you need apex (example.com) or subdomain (docs.example.com) routing

The team configures the hostname mapping and replies with the DNS records to add at your provider. You do not configure custom domains in docs.json.

After your domain is active

Once DNS propagates and the mapping is live:

  1. Open https://{your-hostname}/ — same home page as https://docs.page/{owner}/{repo} with paths at /, not /{owner}/{repo}
  2. Confirm an inner page (for example /installation) stays on your hostname
  3. If you use Branch preview, ref URLs use your hostname: https://docs.example.com/~feature-docs

For URL shapes, canonical links, redirects, and utility routes on a custom domain, see Custom domains.

Related