> ## Documentation Index
> Fetch the complete documentation index at: https://clickflare.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Cloudflare

> Setting up a Custom Domain with Cloudflare

In order to use a custom tracking domain with Cloudflare, you'll firstly need to have one purchased and then start the configuration procedure as detailed below.

<Info>
  Before starting, it is important that you add the custom domain in ClickFlare, so that you have all the necessary DNS information to start the configuration on Cloudflare. For more details, see [how to add a custom domain](/docs/en/settings/custom-domains).
</Info>

Let's begin by:

1. Logging into your Cloudflare account and choosing the **account** you want to use (if you have more than one).

   <img src="https://mintcdn.com/clickflare/nT0xp-drAGD23E_h/images/help-center/09-settings/01-domains/06-cloudflare-01.png?fit=max&auto=format&n=nT0xp-drAGD23E_h&q=85&s=c9a2be095e168038c5957746ddde8bed" alt="Logging into your Cloudflare account and choosing the account you want to use (if you have more than one)" width="742" height="328" data-path="images/help-center/09-settings/01-domains/06-cloudflare-01.png" />
2. Inside your account, you’ll see a list of all your domains. Click on the **Add a Site** button and insert your domain (site).

   <img src="https://mintcdn.com/clickflare/nT0xp-drAGD23E_h/images/help-center/09-settings/01-domains/06-cloudflare-02.png?fit=max&auto=format&n=nT0xp-drAGD23E_h&q=85&s=6c4cfc9fbc459a33cd519d2aee177f2c" alt="Inside your account, you’ll see a list of all your domains. Click on the Add a Site button and insert your domain (site)" width="525" height="140" data-path="images/help-center/09-settings/01-domains/06-cloudflare-02.png" />
3. Click on **DNS** on the left sidebar.

   <img src="https://mintcdn.com/clickflare/nT0xp-drAGD23E_h/images/help-center/09-settings/01-domains/06-cloudflare-03.png?fit=max&auto=format&n=nT0xp-drAGD23E_h&q=85&s=451c6e6fc4489011e4395f29f6cfc364" alt="Click on DNS on the left sidebar" width="261" height="243" data-path="images/help-center/09-settings/01-domains/06-cloudflare-03.png" />
4. On the DNS page, you’ll see the list of all DNS records of this domain (if any). Click on the **Add Record** button.

   <img src="https://mintcdn.com/clickflare/nT0xp-drAGD23E_h/images/help-center/09-settings/01-domains/06-cloudflare-04.png?fit=max&auto=format&n=nT0xp-drAGD23E_h&q=85&s=5a76cb3038a0e820bc0225be64ae731c" alt="On the DNS page, you’ll see the list of all DNS records of this domain (if any). Click on the Add Record button" width="1039" height="218" data-path="images/help-center/09-settings/01-domains/06-cloudflare-04.png" />
5. **CNAME Setup**: Select **CNAME** from the type dropdown menu, and then proceed by entering the **Name** and **Target** (called value in ClickFlare). Finally, click on **Save**.

   <img src="https://mintcdn.com/clickflare/nT0xp-drAGD23E_h/images/help-center/09-settings/01-domains/06-cloudflare-05.png?fit=max&auto=format&n=nT0xp-drAGD23E_h&q=85&s=7367036feeabf9c740c384908bbd2837" alt="CNAME Setup: Select CNAME from the type dropdown menu, and then proceed by entering the Name and Target (called value…" width="1008" height="161" data-path="images/help-center/09-settings/01-domains/06-cloudflare-05.png" />
6. **Domain Verification**: In type, from the dropdown menu select **TXT** and then proceed by entering the **Name** and **Content** (called value in ClickFlare). Select 1 min for **TTL** and click on **Save**.

   > **Note:** The Domain Verification step below (a TXT record) applies to domains added before the **29th of July, 2026**. If you're adding a new custom domain now, this step isn't needed, verification is handled through the CNAME record alone.

   <img src="https://mintcdn.com/clickflare/nT0xp-drAGD23E_h/images/help-center/09-settings/01-domains/06-cloudflare-06.png?fit=max&auto=format&n=nT0xp-drAGD23E_h&q=85&s=0ab5e5e38eb5413922e1498ddff66ca2" alt="Note: The Domain Verification step below (a TXT record) applies to domains added before the 29th of July, 2026. If…" width="1018" height="265" data-path="images/help-center/09-settings/01-domains/06-cloudflare-06.png" />
7. **SSL Verification**: Like before, select **TXT** from the type dropdown menu and then proceed by entering the **Name** and **Content** (called value in ClickFlare). Select 1 min for **TTL** and click on **Add Record**.

   > **Note:** The SSL Verification step below (a second TXT record) also applies to domains added before the **29th of July, 2026**. For new domains, SSL is issued automatically once the CNAME record is in place, no separate step required.

The final configuration should look like this:

<Info>
  **Note: If you're adding this domain after the 29th of July 2026, you do not need the two TXT records. Only the CNAME is necessary.**
</Info>

<img src="https://mintcdn.com/clickflare/nT0xp-drAGD23E_h/images/help-center/09-settings/01-domains/06-cloudflare-07.png?fit=max&auto=format&n=nT0xp-drAGD23E_h&q=85&s=12b800b35195fdbe96afb81a632d7ea9" alt="Note: If you're adding this domain after the 29th of July 2026, you do not need the two TXT records. Only the CNAME is…" width="1269" height="347" data-path="images/help-center/09-settings/01-domains/06-cloudflare-07.png" />

<Info>
  Note: In all the fields for both the TXT and CNAME records, enter the exact names and values, you were prompted when adding your custom tracking domain in ClickFlare. For more details on this, see the “[How to Add a Custom Domain in ClickFlare](/docs/en/settings/custom-domains)” section.
</Info>

<Info>
  Note: If you want to use the root domain (in our example mydomain.com) instead of a subdomain, then in the name field, for the CNAME record, just enter **@**. The “@” symbol is used to point to the root domain.
</Info>

<img src="https://mintcdn.com/clickflare/nT0xp-drAGD23E_h/images/help-center/09-settings/01-domains/06-cloudflare-08.png?fit=max&auto=format&n=nT0xp-drAGD23E_h&q=85&s=73d17cfc6d54ac8c3158d5725c4fd5c3" alt="Note: If you want to use the root domain (in our example mydomain.com) instead of a subdomain, then in the name field…" width="1269" height="347" data-path="images/help-center/09-settings/01-domains/06-cloudflare-08.png" />

**Done!**

When you go back to **ClickFlare** and see a **green** active tag next to your domain name, it means that your domain is ready to be used.

<img src="https://mintcdn.com/clickflare/nT0xp-drAGD23E_h/images/help-center/09-settings/01-domains/06-cloudflare-09.png?fit=max&auto=format&n=nT0xp-drAGD23E_h&q=85&s=c930cebf67d52a841a38afaac6716632" alt="When you go back to ClickFlare and see a green active tag next to your domain name, it means that your domain is ready…" width="1109" height="53" data-path="images/help-center/09-settings/01-domains/06-cloudflare-09.png" />
