Adding Custom Domain

To avoid frustrating cookie issues and to enhance your branding, use a custom domain.

By default, you have a Frontegg Domain. This domain ends with .frontegg.com. By using this Frontegg Domain, however, you may encounter unwanted cookie issues and use a domain that is not consistent with your brand.

Read below to learn more.

Why Use a Custom Domain

Avoid Cookie Issues

Some browsers block 3rd party cookies by default. Providing a custom domain as your application UI domain will give you the ability to support these browsers.

Enhance Your Brand

Instead of seeing .frontegg.com in your domain, you might prefer to have your customers see your custom domain. For instance, when your customers use your application to login, your application might direct them to the following URL:

https://your-application.frontegg.com/oauth/account/login

Rather than see a domain with .frontegg.com in it, you might prefer that your customer see your domain instead.

Read below to learn how to configure a custom domain.

Configure Custom Domain

In the Frontegg portal, go to Workspace Settings ➜ Domains.

On this page, you can manage your Frontegg Domains. You should see your Frontegg Domain and also a place to add a Custom Domain.


In the Custom Domain section, click the Configure button. You should see a dialog appear like in the image below.


Enter your custom domain in the Domain Name input.

As the instructions in the dialog indicate, add the CNAME record to the DNS configuration with your DNS provider.

After adding the CNAME to your DNS configuration, click the Verify button.

πŸ“˜

SSL Certificate

Frontegg generates an SSL certificate for your custom domain.


If Frontegg is able to verify the CNAME record, you will see a success message like in the image below.


After a successful setup, you also should see your custom domain listed on the Administration Page's Domain tab with a verified tag.


πŸ“˜

In the setup, you may encounter an error if Frontegg is unable to verify your custom domain. If that happens to you, double check that you entered your CNAME correctly with your DNS provider and try again.


Did this page help you?