Introducing the Chargebee CLI

How to request for the Custom Domain feature?

Problem Statement

You want to know how to request for the custom domain feature.

Scope

Can we customize our domain name?

Is there any option to have our domain name instead of Chargebee?

Summary

The custom domain feature lets you have your brand on the hosted pages' URLs, instead of Chargebee's, which is useful when using standalone full-page checkout or portal pages.

Solution

This feature is enabled from the backend for your site, here are the prerequisites:

  • Decide on a subdomain that you would like to use. Eg: billing. .com

  • Once you have decided on the subdomain, create a CNAME record and point it to the appropriate endpoint based on your site:

    • US site : cdu.chargebee.com
    • EU site : cde.chargebee.com
    • AU site : cda.chargebee.com
  • Check if the CNAME has been properly configured and propagated. You could use this tool to check: https://mxtoolbox.com/CNAMELookup.aspx

  • Create client keys to enable Google Recaptcha

  • Once this is done, you can email our support team with the CNAME and client keys support and we'd add your custom domain to our certificate list which could take about 7 to 10 business days.

Note

  • This feature is available only for specific plans. Refer to the plans and pricing page for more details.

  • Once the custom domain is activated, if your Chargebee site is on the in-app layout when integrating using the drop-in script, you'd have to add your custom domain name in the header script as shown below:

    <script src="https://js.chargebee.com/v2/chargebee.js" data-cb-site="domain" data-cb-domain="https://billing.domain.com"></script>

    Refer to this documentation to learn more.