Setting Up a Custom Domain
Use your own domain instead of docsbook.io for your documentation.
Required: PRO ($150 lifetime) or PRO+ ($59/month)
Why Use a Custom Domain?#
Benefits#
- π― Branding β documentation under your own domain
- π SEO β links to your domain improve your ranking
- π Trust β visitors see your domain, not someone else's
- πΌ Brand consistency β looks like your own product
Examples#
β Without domain:
docsbook.io/mycompany/product
β
With domain:
docs.mycompany.com
Requirements#
-
Your own domain β registered by you
-
PRO or PRO+ plan β PRO is $150 lifetime, PRO+ is $59/month
- If you haven't upgraded yet β do it now
-
Access to DNS settings β at your domain registrar
Step 1: Open Settings#
- View your documentation while logged in
- Click the Float Widget in the bottom right
- Open Settings
Step 2: Enter Your Domain#
In the Custom Domain section:
- Enter your domain (e.g.,
docs.example.com) - Click Save
Docsbook will generate the DNS configuration.
Step 3: Update DNS#
As soon as you type your domain, the Custom Domain section shows the exact DNS record to add, with a Copy button on every value β no need to look anything up. The record type depends on whether you use a subdomain or a root domain:
Subdomain (recommended, e.g. docs.example.com) β add a CNAME:
| Name / Host | Type | Value |
|---|---|---|
docs (just the subdomain) |
CNAME | cname.vercel-dns.com |
Root / apex domain (e.g. example.com) β most registrars reject CNAME on the root, so add an A record instead:
| Name / Host | Type | Value |
|---|---|---|
@ |
A | 216.150.1.1 |
The admin panel shows the precise values for your domain (the exact IP or CNAME target Vercel recommends). Always copy from there β the values above are typical defaults.
Copy each value directly from the admin panel and paste it into the matching field at your DNS registrar.
Where to Change DNS?#
Open the control panel of your domain registrar:
GoDaddy#
- Open godaddy.com β Sign in
- My Domains β Select domain β DNS
- Click "Add" next to DNS
- Fill in:
- Type: CNAME
- Name:
docs - Points to:
cname.vercel-dns.com
- Save
Namecheap#
- Open namecheap.com β Sign in
- Domain List β Manage
- Advanced DNS
- Add new record:
- Type: CNAME
- Host:
docs - Value:
cname.vercel-dns.com - TTL: 3600
- Save
Google Domains#
- Open domains.google.com
- Select domain
- DNS β Custom records
- Create new record:
- DNS Record Type: CNAME
- Name:
docs - Data:
cname.vercel-dns.com
- Save
1and1 / Ionos#
- Sign in β Domains
- Select domain
- Manage DNS
- Add record:
- Type: CNAME
- Subdomain:
docs - Alias:
cname.vercel-dns.com
- Save
Using a Root Domain#
If you want example.com (without docs):
-
Our recommendation: use
docs.example.com- Easier to configure
- Lets you use
example.comfor the project site
-
If you still want root:
- Some registrars don't allow CNAME on root
- Use an A record instead of CNAME β copy the exact IP shown in the admin panel for your domain (typically
216.150.1.1) - Contact support@docsbook.io for help
Step 4: Wait#
After adding the DNS record, updates propagate:
- Usually: 15-30 minutes
- Maximum: 48 hours
To check propagation, use the built-in "Check domain status" button in the Custom Domain section of the admin panel. It shows one of three statuses:
- Domain verified! β (green) β DNS is live, your domain is active.
- Waiting for DNS verification (yellow) β record not yet visible; DNS is still propagating (allow 15β60 minutes).
- Conflicting DNS record found (yellow) β another record is interfering; remove it and try again.
You can also verify using DNSChecker: enter your domain and confirm it resolves to cname.vercel-dns.com.
Step 5: SSL Certificate#
Once DNS propagates, Docsbook automatically:
- Detects your domain
- Creates an SSL certificate (Let's Encrypt)
- Enables HTTPS
Your site is available at:
https://docs.example.com β
Verifying Your Domain#
How to check everything is working?#
Method 1: Built-in status check (recommended)
- Open the Float Widget β Settings β Custom Domain
- Click "Check domain status"
- A green "Domain verified! β" message confirms your domain is live
Method 2: Simple check
- Open in browser:
https://your-domain.com - Your documentation should load
Method 3: DNS check
# In terminal
nslookup docs.example.com
# Should show: cname.vercel-dns.comMethod 4: Online service
- Open mxtoolbox.com
- CNAME lookup
- Enter your domain
- Should show
cname.vercel-dns.com
Troubleshooting#
DNS Not Updating#
Problem: 2+ hours have passed, but domain doesn't work
Solutions:
- Clear browser cache (Ctrl+Shift+Delete)
- Use a private browser window
- Check DNS via DNSChecker
- Verify the CNAME record is added correctly
- Wait another 24 hours
Old Site Still Showing#
Problem: DNS updated, but old version of site
Solutions:
- Press Ctrl+F5 (full cache clear)
- Open in private window
- Wait 24 hours
HTTPS Not Working#
Problem: https:// shows a certificate error
Solutions:
- Wait 1 hour β certificate is being created
- Verify DNS has updated
- Check domain name for typos
- Contact support@docsbook.io
Domain Shows Vercel or Error#
Problem: Visiting the domain shows a Vercel message
Solutions:
- Click "Check domain status" in Settings β Custom Domain to see the current verification state
- Check the domain is added in Docsbook (visible in Settings)
- Make sure the DNS CNAME is correct
- Wait 1-2 hours for sync
CloudFlare proxy conflict#
Problem: Domain configured but not verifying, or showing SSL errors
Solution: If you use CloudFlare, set the DNS record to DNS only (grey cloud icon, not orange). The orange cloud (proxy mode) intercepts traffic before Vercel can verify the domain. Switch to grey cloud, then click "Check domain status" again.
Changing Your Domain#
How to switch to a different one?#
- Open settings
- Change the domain in the Custom Domain field
- Click Save
- Update DNS for the new domain
- The old domain will stop working
Removing Your Domain#
How to go back to docsbook.io?#
- Open settings
- Clear the Custom Domain field
- Click Save
Documentation returns to:
docsbook.io/username/repo
Best Practices#
1. Use a Subdomain#
β
docs.example.com
β
guide.example.com
β
api.example.com
β example.com (if your main site is there)
2. Tell People About the Domain#
Update links to your documentation everywhere:
- GitHub README
- Project website
- Email signatures
- Social media
3. Set Up Email (Optional)#
Now that you have a domain, you can add email:
- Google Workspace β business Gmail
- Zoho Mail β free option
- Protonmail β private email
This is a separate service from Docsbook, configured through your registrar.
4. Use for SEO#
Now that the site is under your domain:
- Set up Google Analytics
- Track traffic
- Submit to search engines