My custom subdomain isn't working

Custom domain issues are usually DNS-related. Here's how to troubleshoot:

Check your DNS configuration:

  1. Verify you created a CNAME record (not an A record) pointing to the value GitBook provided.

  2. Ensure you're using the subdomain format (docs.yoursite.com or www.yoursite.com

  3. If using Cloudflare, disable the orange cloud (proxy) - it must be set to "DNS only"

Common DNS issues:

  • Conflicting records: Remove any existing A, AAAA, or other records for the same subdomain

  • TTL delays: DNS changes can take up to 48 hours to propagate globally

  • CAA records: If you have CAA records, add 0 issue "pki.goog" to allow GitBook's SSL certificates

How to test your setup?

Use a DNS lookup tool like WhatsMyDNS.netarrow-up-right to verify your CNAME record is pointing to the correct GitBook address.

If you continue having issues after 48 hours, contact supportarrow-up-right with your domain name and the CNAME value GitBook provided.

Last updated

Was this helpful?