Power custom domains

With Entri Power, you can enable support for custom domains in just minutes.

Users care about a fully customizable product experience. That's where custom domains come in.

Domain-connected users become fully integrated with your product, resulting in better retention, and a better customer experience for their end users.

Configure your Entri account for Power

Before you can use Entri Power, you'll need to provide some basic information on the Entri dashboard and set up your DNS records accordingly.

Log into the Entri Dashboard, navigate to the configure section, and enter your company’s desired cname_target.

The cname_target is the CNAME record that your end-users will eventually need to add. For example: domains.saascompany.com

After inputting the cname_target on the Entri dashboard, you'll need to create a CNAME record that points your cname_target to power.goentri.com on your domain's DNS.

For example, if you run saascompany.comand your cname_target is domains.saascompany.com, then you would add this record to the DNS for saascompany.com:

  type: "CNAME",  
  host: "domains",  
  value: "power.goentri.com",
  ttl: 300,

After this DNS record is added, you are ready to offer custom domains to your customers!

:rocket: Power a new domain

After you've configured your account, there are two methods of adding a new custom domain: utilizing the Entri modal, or making a direct API request.

Please note that you'll need an active subscription to Entri Connect to use the Entri modal method. For questions about this, contact your account manager.

Powering a domain via the Entri Modal (recommended)


For more information about configuring the Entri modal, see: Create the configuration object.

To power a custom domain via the Entri Modal, you will need to make 2 additions to the standard configuration object for the Entri Modal.

  • Add the property power and set it to true.
  • Add the property applicationUrl . The applicationUrl is the URL of your application that you would like to render on the customer's domain. This will likely change for every user. For example, the applicationUrl for a calender booking app might look something like this: https://calenderapp.com/meetings/user-name

Then, add a CNAME record to the dnsRecords array. Be sure that the host is set to {CNAME_TARGET}. If you are prompting users to enter a domain in the Entri modal, make sure that you use dynamic configuration variables.

Here is an example of a config for Power:

const config = {
  applicationId: "12345", // From the Entri dashboard
  token: mySavedToken, // The "auth_token" value generated via JWT
  power: true, // This enables the Entri power feature
  applicationUrl: "https://app.saascompany.com/page/123",  // This should be the application URL that you would like to render on the custom domain
  dnsRecords: [
      type: "CNAME",
      host: "{CNAME_TARGET}", // `{CNAME_TARGET}` will automatically use the CNAME target entered in the dashboard
      value: "{SUBDOMAIN}", // This will use the user inputted subdomain. If hostRequired is set to true, then this will default to "www"
      ttl: 300,


SSL Provisioned by Default

Entri Power will automatically provision an SSL certifcate so there is no need to also set up Entri Secure when using Power

Powering a domain directly via API

You can also add a custom domain without using the Entri modal in just 2 steps:

Step 1

To power a domain without displaying the Entri modal, you first need to make a GET request to our API which confirms that the domain you want to power contains a CNAME record pointing to your cname_target .

Use the following information for the GET Request:

Example using curl:

curl -X GET https://api.goentri.com/power
   -H "Content-Type: application/json"
   -H "Authorization: [JWT authorization]"
   -H "applicationId: [yourApplicationID]"
   -d '{"domain": "www.test.com"}'

If the domain contains the required cname_target, then our API will return "eligible": true. If it does not contain cname_target, then our API will return "eligible": false

// domain is eligible for Power
  "eligible": true,
  "sslStatus": "inactive",

// domain is ineligible for Power because cname record not been set up
  "eligible": false,
  "sslStatus": "inactive",

If your GET request returned "eligible": true then you can proceed to the next step below.


Important Warning

Do NOT proceed with making a POST request in Step 2 (below) unless the domain returned "eligible": true in theGET request from Step 1. Otherwise, the POST request will be denied.

Step 2

After you have confirmed that your customer has added your cname_target and therefore is eligible for Power, you can proceed with enabling the domain via a POST request to our endpoint as detailed below:

Example using curl:

curl -X POST https://api.goentri.com/power 
   -H "Content-Type: application/json"
   -H "Authorization: [JWT authorization]"
   -H "applicationId: [yourApplicationID]"
   -d '{"domain": "www.customdomain.com"}'
   -d '{"applicationUrl": "https://app.saascompany.com/page/123"}' 
// IMPORTANT: Update to use the applicationUrl for the user

Disable domains that are no longer active

To remove a domain, make a DELETE request to our API using the following information:

Example using curl:

curl -X DELETE https://api.goentri.com/power 
   -H "Content-Type: application/json"
   -H "Authorization: [yourClientSecret]"
   -H "applicationId: [yourApplicationID]"
   -d '{"domain": "www.test.com"}'


How does Entri Power work?

Entri uses a reverse proxy with SSL termination. To illustrate the flow of data:

  1. A client (such as a web browser) makes a request to your customer's domain.
  2. That request goes through Entri's reverse proxy server and is passed along to your service.
  3. Your service returns a response through the reverse proxy, which is then passed back to the client and renders your applicationUrl

Why should you trust Entri as a reverse proxy?

Entri Secure uses Amazon Web Services with multi-region architecture to avoid single points of failure and minimize latency. We also leverage advanced distributed denial of service (DDOS) protection.

You can view Entri's uptime history on our status page.

What certificate authority does Entri use?

Entri is proud to use Let's Encrypt SSL certificates.

How long on average does it take for an SSL certificate to go live?

On average, between 3-7 seconds.

Can I use Entri Power with Cloudflare?

Yes you can.