Looking to set up a custom subdirectory like
mintlify.com/docs? See the custom subdirectory docs.Dashboard settings
- Navigate to your dashboard.
- Select Settings.
- Select Domain Setup.
- Enter your desired custom domain. For example,
docs.mintlify.com.

Configure your DNS
- Navigate to your domain’s DNS settings on your domain provider’s website.
- Create a new DNS entry with the following values:

Provider-specific settings
Vercel verification
Vercel verification
If Vercel is your domain provider, you must add a verification
TXT record. This information appears on your dashboard after submitting your custom domain, and is emailed to you.Cloudflare security settings
Cloudflare security settings
If Cloudflare is your DNS provider, you must enable the “full strict” security option for the HTTPS setting.
Set a canonical URL
After configuring your DNS, set a canonical URL to ensure search engines index your preferred domain. A canonical URL tells search engines which version of your documentation is the primary one. This improves SEO when your documentation is accessible from multiple URLs and prevents issues with duplicate content. Add thecanonical meta tag to your docs.json:
https://www.your-custom-domain-here.com with your actual custom domain. For example, if your custom domain is docs.mintlify.com, you would use:
