🌐
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.
🌐
Gitbooks
yantaishuiwu.gitbooks.io › gitbook_documentation › content › en › › platform › domains.html
Custom Domains | gitbook_documentation
All books on Gitbook.com are served under http://{author}.gitbooks.io/{book}/, the book's content is available at http://{author}.gitbooks.io/{book}/content/. But you can configure your book to use a custom domain name (a free feature on GitBook).
🌐
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 › 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?
🌐
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
🌐
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.
🌐
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, ...
🌐
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.
🌐
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.

🌐
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
🌐
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 - The mkdocs should be served in my custom domain. It just redirects to my old gitbook knowledgebase, ah yeah, dont accuse me for dns propagation, its been 24 hours and I can confirm that it has propagated https://www.whatsmydns.net/#CNAME/support.infinitzhost.com ·
Author: readthedocs
🌐
Reddit
reddit.com › r/webhosting › github pages vs paid solutions?
r/webhosting on Reddit: GitHub Pages vs paid solutions?
December 26, 2023 -

I have a website that has a few static pages with custom html, css, fonts, images, and some js. Everything is front-end, and there is no server-side code or databases.

I have a domain bought, and I'm looking to publish my website with that custom domain.

Will GitHub Pages (or other free solutions) do the trick?

Or will I need paid solutions that should be better, but I'm not sure better in what ways.

Of course, I do not want any watermarks, ads, or limits on how many pages/sites I can have.

It'd best to have SSL, so my site is HTTPS.

Other things like a email@customdomain.com is good too. And I'm not sure if there is a difference in SEO, analytics, etc with what hosting service I choose.

🌐
InfinityFree
forum.infinityfree.com › hosting support
Gitbook Custom domain .rf.gd - Hosting Support - InfinityFree Forum
March 29, 2024 - Website URL https://docs.crazybots.rf.gd Error Message This domain is proxied through Cloudflare, which is discouraged to ensure the best experience for your public documentation. (displayed on gitbook) Other Information Greetings! I’ve been recently trying to configure a custom domain for gitbook.