🌐
Reddit
reddit.com › r/github › connecting custom domain to gitbook - subdomain works, but not root domain
r/github on Reddit: Connecting Custom Domain to GitBook - Subdomain Works, But Not Root Domain
March 25, 2025 -

Hello everyone,

I'm having trouble setting up a custom domain for my GitBook project. My project is hosted at bloxsafe.gitbook.io, and I've successfully set up the subdomain www.bloxsafe.xyz to point to it. However, I'm unable to configure the root domain bloxsafe.xyz to work similarly. Under Settings->General->Publishing->Your Gitbook Domain, I can only edit the subdomain.

The problem is that visitors can access my GitBook via www.bloxsafe.xyz, but not directly through bloxsafe.xyz. I've tried setting up DNS records, but it seems like GitBook only supports subdomains (e.g., www) rather than the root domain.

Has anyone else encountered this issue? Are there any workarounds or specific DNS settings I should use to get both www.bloxsafe.xyz and bloxsafe.xyz working?

Any help or advice would be greatly appreciated!

🌐
GitBook
gitbook.com › docs › docs-site › custom-domain
Set a custom domain | GitBook Documentation
July 26, 2026 - You can also close the window if you need, and we'll send you a notification once the process is done on our side. To change the custom domain for a site, open the site's Settings, under General in the site sidebar, and click Domain and URL.
🌐
Reddit
reddit.com › r/selfhosted › looking for a good gitbook alternative in 2025
r/selfhosted on Reddit: Looking for a good Gitbook Alternative in 2025
May 15, 2025 -

I've been using GitBook for documentation in some of my projects, but I'm increasingly running into limitations with their free tier, and I'm not a fan of relying on their cloud service. I'd prefer to self-host a similar solution for better control and customization.

Ideally, I'm looking for a self-hosted alternative that offers:

  • Markdown support

  • Clean, modern UI like GitBook

  • Easy navigation/sidebar structure

  • Version control integration (Git preferably)

  • Good search functionality

Ability to collaborate with others I know there are options like BookStack, DokuWiki, and MDBook out there, but I'd love to hear from anyone who's made the switch from GitBook to a self-hosted solution. What worked well for you? Any implementation challenges I should be aware of?

Thanks in advance!

UPDATE: Thanks for all the suggestions—super helpful!

Just wanted to mention that I ended up trying out Apidog's self-hosted docs and it’s been a really solid alternative to GitBook for my needs. It supports Markdown, has a clean and modern UI, and the sidebar/navigation setup feels very familiar.

It also integrates with Git for version control, which was important for me, and the search has been decent so far. I’ve been using it for about 6 months now after hitting the limits of GitBook’s free tier, and I’ve been really happy with it. The self-hosting setup was pretty straightforward if you follow their guide.

If you’re looking for something GitBook-like but with more control, it’s definitely worth a look.

🌐
GitBook
docs.gitbook.com › published-documentation › custom-domain
Set a custom domain | GitBook Documentation
May 15, 2024 - Organization-level domains can be set by users with admin rights. Site domains can be set by users with creator or admin rights. ... Set a custom subdomain for your published content. ... Hop back into the GitBook app for this final step.
🌐
GitBook
gitbook.com › docs › help-center › published-documentation › custom-domains
Custom domains | Help Center | GitBook Documentation
How do I migrate my docs to GitBook?Give me an overview of GitBook's AI features.What has GitBook shipped in the last month? ... My custom subdomain isn't workingChange or update my custom domain in GitBookHow can I solve the "path is already taken" error?How can I change the slug in the URL?
🌐
Gitbooks
yantaishuiwu.gitbooks.io › gitbook_documentation › content › en › › platform › domains.html
Custom Domains | gitbook_documentation
Login to your domain registrar and find the page that allows you to add/edit host records. That page is often found in your settings under Edit DNS, Host Records or Zone File Control. Set the www record to a CNAME and set the URL field to: www.gitbooks.io.
🌐
Jinlaixu
blog.jinlaixu.net › books › gitbook-documentation › book › domains.html
Custom Domains | GitBook Documentation
In order to use your own domain, you will need to make a few changes with your domain registrar: Log in to your domain registrar and find the section that allows you to add/edit host records, often found in a settings menu called 'Edit DNS', 'Host Records' or 'Zone File Control'.
🌐
GitBook
gitbook.com › docs › help-center › account-management › pricing-plans-and-billing › do-i-have-to-pay-to-publish-a-site
Do I have to pay to publish a site? | Help Center | GitBook Documentation
December 8, 2025 - We offer unlimited basic sites for free, however, if you are planning to use custom domains, advanced customizations or any other premium features you will have to upgrade your site to a paid plan.
🌐
GitHub
github.com › orgs › GitbookIO › discussions › 977
How to set up a custom domain name??? Do you need the advanced version now to customize your domain name?? Do I remember being able to directly change to my own domain name before?? · GitbookIO · Discussion #977
Yes! Custom domains are now only available on paid plans 👉 https://www.gitbook.com/pricing · Beta Was this translation helpful? Give feedback. 1 · You must be logged in to vote · All reactions · 0 replies · Sign up for free to join this ...
Find elsewhere
🌐
Reddit
reddit.com › r/selfhosted › is there a self hosted gitbook alternative?
r/selfhosted on Reddit: Is there a self hosted GitBook alternative?
January 3, 2021 -

I'm over WordPress, I think they have gone too far with trying to make an editor that is all things to all people and I find editing to be very distracting. I am writing technical documentation and need it to be precise rather than fancy.

I really like GitBook, but I want to retain creative and hosting control.

Is there a self hosted version of something like GitBook?

Many thanks.

🌐
secretGeek
til.secretgeek.net › gitbook › host_on_custom_subdomain.html
Host a gitbook on a custom subdomain - secretGeek.net
By default the book is hosted on http://{author}.gitbooks.io/{book}/ and can be read at https://www.gitbook.com/read/book/{author}/{book} If you want to host it on a custom sub domain then you may need to add a cname record at your webhost.
🌐
Reddit
reddit.com › domain › gitbook.com
gitbook.com on reddit.com • r/gitbook.com
Fantastic update on this one. Great stuff on the gitbook page (app.gitbook.com)
🌐
Discoposse
discoposse.com › home › setting up a gitbook for a custom domain
Setting up a GitBook for a Custom Domain - DiscoPosse.com
November 7, 2016 - Open up your AWS Route53 console, select the radio button for your domain, and click the Go to Record Sets button: Create a new CNAME entry using the Create Record Set button. Choose www for the Name field, CNAME as the Type, and for the value, ...
🌐
GitHub
github.com › GitbookIO › demo-docs-gitbook › blob › main › publishing-documentation › custom-domain.md
demo-docs-gitbook/publishing-documentation/custom-domain.md at main · GitbookIO/demo-docs-gitbook
Those are the details you'll use to set your custom domain in your DNS provider. This is done outside GitBook, in the provider you are using for your domain.
Author: GitbookIO
🌐
Reddit
reddit.com › domain › legacy.gitbook.com
legacy.gitbook.com on reddit.com
It took me two years but it's finally done. My third book "React in patterns" (legacy.gitbook.com)
🌐
GitHub
github.com › readthedocs › readthedocs.org › issues › 7939
Additional steps to setup a custom domain previously from gitbook · Issue #7939 · readthedocs/readthedocs.org
February 22, 2021 - Additional steps to setup a custom domain previously from gitbook#7939 · Copy link · Labels · Needed: documentationDocumentation is requiredDocumentation is required · FatGrizzly · opened · on Feb 22, 2021 · Issue body actions · Read the Docs project URL: https://readthedocs.org/projects/infinitzhost/ Build URL (if applicable): https://support.infinitzhost.com ·
Author: readthedocs