# White Label

## How to set up a Whitelabel domain (video)

In this help document, we will show you how to set up the Whitelabel domain for your agency plan.

**What plan supports Whitelabel?**&#x20;

The Agency plan or Partner plan allows you to set up your custom domain. If you want to upgrade, please visit the [UChat](https://www.uchat.com.au/) website for more details.

**Checklist to set up your custom domain You will need:**

* Cloudflare free account with your domain already migrated to the Cloudflare account
* UChat Agency or Partner plan.

### Set up custom domain step by step

* **Step 1:**&#x20;

You should already migrate your domain to the free Cloudflare account, if you haven't already, here is a helpful article [reference](https://developers.cloudflare.com/registrar/get-started/transfer-domain-to-cloudflare) for you to complete the migration.

* **Step 2:**&#x20;

Login in to your UChat dashboard, in the main workspace, you should be able to find "Agency Settings" from the left panel as per the screenshot below:&#x20;

![](https://p24.p4.n0.cdn.getcloudapp.com/items/rRuWRbO1/4a6464fd-2cfe-4a2c-beeb-61ae37b47ccd.jpg?v=3bfc92c9ac454ee01843efd74bb1a73d)

* **Step 3:**&#x20;

Once you open agency settings, you will be able to find the custom domain settings and the value you need to redirect your subdomain to.

<mark style="color:purple;">**Pointing subdomain to Record Type A**</mark>

![](https://1427321719-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXZTLhff5V8IXSYme26Hi%2Fuploads%2FyvVtHHIlyqRwjuzzgOVo%2Fimage.png?alt=media\&token=413ca561-0f63-4908-8ea2-6829b5b564cf)

Currently, you need to point your subdomain to <mark style="color:red;">**45.76.126.32**</mark>

Let's assume you want to set up your custom domain as below: **chat.domainx.com** to point to UChat.

You need to put the domain as below in the UChat dashboard.

![](https://1427321719-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXZTLhff5V8IXSYme26Hi%2Fuploads%2FnBdu3ZNKmGzKJbUCZBAK%2Fimage.png?alt=media\&token=bf7f1703-fee7-403c-bda0-eb0eb15a83fa)

* **Step 4a:**

Now, let's go to the Cloudflare account, you should already migrate the domainx.com to your free Cloudflare account.

In the DNS settings, you need to add a new **A record** with the settings as shown in the picture below;

![](https://1427321719-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXZTLhff5V8IXSYme26Hi%2Fuploads%2FfyogpGV862KuZSJDfBaJ%2Fimage.png?alt=media\&token=deacba37-db72-48cb-b2b2-5423c0bcec7d)

After you save the record, it should appear like this

![](https://1427321719-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXZTLhff5V8IXSYme26Hi%2Fuploads%2FivW5ZLB0G2WOcV6JueZw%2Fimage.png?alt=media\&token=e0563f99-b0ee-47bc-b5d1-e278fc02854a)

Make sure you turn the proxy on in the settings.

Also if you go to SSL/TLS settings in your Cloudflare, you should set the encryption to Flexible.

<mark style="color:purple;">**Pointing your subdomain to Record Type CNAME**</mark>

![](https://1427321719-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXZTLhff5V8IXSYme26Hi%2Fuploads%2F7ZOGZx3u1s3isDQplVX6%2Fimage.png?alt=media\&token=36e1a5c8-5417-4d72-ab11-afacf2a8324d)

Currently, you need to point your subdomain to <mark style="color:red;">**cname.dfktv.net**</mark>

Let's assume you want to set up your custom domain as below: **customdomain.com** to point to UChat.

You need to put the domain as below in the UChat dashboard.

* **Step 4b:**

Now, let's go to the Cloudflare account, you should already migrate the domainx.com to your free Cloudflare account.

In the DNS settings, you need to add a new **A record** with the settings as shown in the picture below;

![](https://1427321719-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXZTLhff5V8IXSYme26Hi%2Fuploads%2FdGEGjOPGUVU7gFthpYNT%2Fimage.png?alt=media\&token=9dc98707-5b95-4dd9-821f-6e4b64468a5a)

After you save the record, it should appear like this

![](https://1427321719-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXZTLhff5V8IXSYme26Hi%2Fuploads%2FSXnxSjB88ABXeIL2SsZQ%2Fimage.png?alt=media\&token=954a338d-a91a-4177-9162-bb758af4ab47)

* **Proxy Settings**

Make sure you turn the proxy on in the settings.

Also if you go to SSL/TLS settings in your Cloudflare, you should set the encryption to Flexible.

![](https://p24.p4.n0.cdn.getcloudapp.com/items/NQu7XYnb/d4cd99c2-b0cd-41eb-a2af-61c1d6a8f168.jpg?v=d4b41f600f19b413ab5ea8bf07dfa95f)

If you follow the instruction above, you should already have your custom domain set up properly.

### FAQ&#x20;

**What if I am not using Cloudflare?**&#x20;

We recommend that you use Cloudflare as its free account provides free SSL protection. Also, if you are not using Cloudflare, UChat will not be able to help you troubleshoot your Whitelabel concerns or issues.

Plus migrate to Cloudflare is free, and Cloudflare has more awesome features to offer. we highly suggest you migrate to Cloudflare for ease of setup.
