- Customization
- Custom Domain
Customization
Custom Domain
Host your documentation at your own custom domain
Setting up a Custom Domain
Docsalot lets you connect your own domain to a documentation site from either the dashboard or the CLI.
Use the dashboard when you want a visual setup flow. Use the CLI when you want an agent, script, or terminal workflow to manage the same domain setup.
Dashboard setup
Open the documentation editor, add the domain, copy the DNS record, and refresh verification from the custom-domain dialog.
CLI and agent setup
Ask your agent to point the docs to a domain, or run docsalot domains add and docsalot domains verify directly.
Default Subdomain
Every Docsalot documentation site comes with a default subdomain:
- Format:
your-project.docsalot.dev - SSL/TLS: Automatically provisioned
- Availability: Instant
Add a Custom Domain from the Dashboard
Open Custom Domain Dialog
Navigate to your documentation editor and click the custom domain settings button to open the domain management dialog.
Enter Your Domain
Enter your custom domain (e.g., docs.yourcompany.com) in the input field and click “Add”.
Monitor Setup Progress
The system will automatically:
- Provision an SSL certificate
- Configure domain routing
- Set up edge network distribution
You’ll see real-time progress indicators for each step.
Configure DNS
Add the provided CNAME record to your DNS provider.
Add a Custom Domain from the CLI
First find the documentation ID:
docsalot docs list
Then add the custom domain:
docsalot domains add --documentation-id <documentation-id> --domain docs.yourcompany.com
The CLI returns the DNS record to create and the hostname-id to verify later.
After DNS is ready, verify the domain:
docsalot domains verify --documentation-id <documentation-id> --hostname-id <hostname-id>
You can also list or remove custom domains:
docsalot domains list --documentation-id <documentation-id>
docsalot domains remove --documentation-id <documentation-id> --hostname-id <hostname-id>
Ask Your Agent
If you have installed the Docsalot CLI skill, you can ask Claude Code, Codex, or another coding agent:
use docsalot cli to point this documentation to docs.yourcompany.com, show me the DNS record I need to add, and verify it when DNS is ready
The agent should be able to find or ask for the documentation ID, start setup through the CLI, and guide you through the DNS record.
DNS Configuration
Once you add a custom domain, you’ll receive specific DNS instructions. Add a CNAME record with these values:
Type: CNAME
Name: [your subdomain or @]
Value: docsalot.dev
The “Name” field should be just the subdomain part. For example, if your domain is docs.example.com, enter docs as the Name value.
Important for Cloudflare users: If your domain uses Cloudflare DNS, you must set the CNAME record to DNS only (grey cloud icon, proxy off). The orange cloud (proxy on) will cause domain verification errors. See Cloudflare Custom Domains for the full Cloudflare-specific flow.
Each domain provider has different ways to add DNS records. Refer to your domain provider’s documentation for specific instructions.
Domain Status and Verification
Your custom domain can have one of three statuses:
Active
Domain is verified and serving your documentation. SSL certificate is provisioned and auto-renewing.
Pending
Domain setup is in progress. This includes SSL provisioning and edge network configuration.
Awaiting DNS
CNAME record not detected. Add the DNS record at your provider and click refresh to re-verify.
Verifying Your Domain
After adding DNS records:
- Wait 5-15 minutes for initial propagation
- Click the refresh icon next to your domain in the management interface
- The system will re-check your DNS configuration
- Once verified, your domain status will change to “Active”
You can safely close the domain dialog while setup continues in the background. DNS changes typically propagate within 15 minutes but can take up to 24 hours in rare cases.
DNS Propagation
DNS changes typically take 5-15 minutes to propagate for initial verification, though global propagation can take up to 24 hours in some cases. You can verify your DNS is configured correctly using DNSChecker.
Managing Multiple Domains
You can add multiple custom domains to a single documentation site. This is useful for:
- Supporting multiple branded domains
- Transitioning from an old domain to a new one
- Regional domain variations
Each domain is managed independently with its own:
- SSL certificate
- DNS configuration
- Verification status
To remove a domain, simply click the delete icon next to it in the domain management interface.
Automatic SSL/TLS Provisioning
Docsalot automatically provisions free SSL/TLS certificates for all custom domains. The process includes:
- Certificate Generation: SSL certificates are automatically generated when you add a domain
- Auto-renewal: Certificates are automatically renewed before expiration
- No configuration needed: SSL works out of the box once your domain is verified
All custom domains receive automatic HTTPS with no additional setup required. Your documentation will be served securely as soon as the domain becomes active.
Troubleshooting
Common Issues and Solutions
CAA Records
If your domain uses CAA (Certification Authority Authorization) records, you must authorize Let’s Encrypt to issue certificates. Add this CAA record:
0 issue "letsencrypt.org"
Reserved Paths
The /.well-known/acme-challenge path is reserved for certificate validation. Do not redirect or rewrite this path.
SEO Configuration
Set a Canonical URL
After configuring your custom domain, set a canonical URL to ensure search engines index your preferred domain. This improves SEO when your documentation is accessible from multiple URLs and prevents issues with duplicate content.
Add the canonical meta tag to your layout.json:
"seo": {
"metatags": {
"canonical": "https://www.your-custom-domain-here.com"
}
}
Replace https://www.your-custom-domain-here.com with your actual custom domain. For example, if your custom domain is docs.yourcompany.com:
"seo": {
"metatags": {
"canonical": "https://docs.yourcompany.com"
}
}
Need Help?
If you encounter any issues with custom domain setup or need assistance:
Email Support
Contact our support team at faizank@docsalot.dev for personalized assistance.
Community Discord
Join our Discord community for real-time help and discussions with other users.
When contacting support, include your documentation subdomain and the custom domain you’re trying to configure for faster assistance.