How to Set Up a Custom Domain for your Knowledge Base

Set your knowledge base to have a subdomain or domain that matches the domain that your application uses

Your knowledge base can be accessed primarily in two ways: from the life ring button of your application or by accessing the domain it's set to. 

It's possible to set your knowledge base to have a subdomain or domain that matches the domain that your application uses. For example, if the domain of your application or website is app.example.com, then you can set it to be help.example.com or kb.example.com.

It's currently not possible to use a path of your main domain (example.com/help) but you can have a redirect set up on your side to send users to help.example.com if they try to access the 'help' path.

Setting the domain is as easy as inputting it into the 'custom domain' field, as so:

An example of s custom domain with setup in progress

You'll be provided with two CNAMEs that you'll need to add to the rules of your DNS provider. After setting them, you can use checker tools found via search engines to verify that they're properly set. Sometimes you'll receive a 'timeout error', which is usually caused by your DNS provider having some time based restriction on when the CNAMEs need to be added to the DNS provider. If you experience this error, you can reset the attempt by momentarily entering a different name and then switching it back to the domain you wish to set.

Useful Information Regarding the '.' at the End
 

At times there can be some inconsistencies when adding records. For an example of this, if you consider 'productfruits.com' as the domain. When you add a new record named 'help', different providers can interpret this in a variety of ways.

When entering 'help', some providers can interpret this correctly as 'help.productfruits.com.' yet others can see this as incorrect and see it as 'help.' which will cause an error.

If you enter 'help.' typically you should get an error for being an invalid, but some providers will remove the trailing dot and see it as 'help.productfruits.com.'

For 'help.productfruits.com.' the correct behavior is to recognize it as 'help.productfruits.com.' but some providers will mistakenly interpret it as 'help.productfruits.com.productfruits.com.' which should cause an error.

Entering 'help.productfruits.com', most providers will create it as 'help.productfruits.com.productfruits.com.' but some might think you intended to enter the full domain and interpret it as 'help.productfruits.com.'.

The main reason this happens is because a lot of DNS providers have different user interfaces and interpret data differently, which cause this process to be unpredictable at times.

Error While Setting Up a Custom Domain

You may encounter errors while setting up a custom domain. If your CNAME records are correct, the issue is likely with your CAA records.

To resolve this, create a CAA record for at least one of these servers:

  • amazon.com
  • amazontrust.com
  • awstrust.com
  • amazonaws.com

Was this article helpful?