If you're on Slab's Business plan, we can help you set up a custom domain to use with your Slab account. Instead of logging in and browsing Slab at yourteam.slab.com , you can use something like learn.yourcompany.com — where yourcompany.com is your primary domain name.
Create a CNAME record
To get started, you'll need to create a CNAME record in your DNS settings. In most cases, your DNS provider is the company with which you registered your domain name, such as Hover, GoDaddy, NameCheap, or Google Domains.
When you create the CNAME, you'll need to fill in a few fields:
Record Type should be set to CNAME
The Hostname is whatever you want the new URL to be. Example: learn.company.com
The Target points back to Slab's servers and should be set as: app.slab.com
TTL can be left at the default settinge
Once you've created a CNAME, head into your admin settings in Slab and go to Team. Under Custom Domains, click Add and type in your new domain name. Once we can verify access, a "Live" badge will appear next to the custom domain. Note this means the CNAME record has propagated to Slab's servers, but may differ for those on your team, depending on their internet service providers.
Setting the default host
To enforce your custom domain as the default host for your Slab account, click the ... button to the right of your custom domain and select Set as default.
Will this work with our root domain? No, we only support subdomain redirects. That means your custom URL will always look something like learn.company.com (subdomain) instead of company.com/learn (root domain). However, you can use www.company.com and set up company.com to redirect to www.company.com.
What happens to our Slab subdomain? Your Slab subdomain company.slab.com will continue to work and will not redirect to your custom domain. This way, there is always a backup way to access Slab in case your DNS setting runs into issues.