First, ensure your domain is on CloudFlare and the “Proxy Status” is set to “Proxied” in your DNS Records.The cloud icon should be orange.
If you need help adding a custom domain to GitBook, refer to the GitBook DNS configuration guide. Note that GitBook recommends not using CloudFlare as a proxy, but it’s required for our integration.