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

# Connect a Cloudflare domain to your app

> Point a domain managed in Cloudflare to your Zite app by adding the required DNS records.

## Before you start

You will need:

* Access to the Zite app you want to connect
* Access to the Cloudflare account that manages your domain
* Permission to edit DNS records for that domain

<Info>
  Custom domains are available for apps once they are [shared to the web](/help/platform/access/share-to-web).
</Info>

## Connect your domain

<Steps>
  <Step title="Open custom domain settings in Zite">
    Open your Zite app settings and go to the custom domain section. Enter the domain you want to use, then note the DNS records Zite asks you to add.

    <img src="https://mintcdn.com/zite/i6-nb0s_pTXTgIMU/help/images/zite/cloudflare/custom-domain.jpg?fit=max&auto=format&n=i6-nb0s_pTXTgIMU&q=85&s=60ea02643419c4433a837f1fc9da0cff" alt="Zite custom domain settings showing the A and CNAME records to add" style={{ width: "100%", display: "block", border: "1px solid #E5E7EB", borderRadius: "12px" }} width="1271" height="1046" data-path="help/images/zite/cloudflare/custom-domain.jpg" />
  </Step>

  <Step title="Open DNS records in Cloudflare">
    Log in to Cloudflare, choose your domain, then open `DNS` and go to `Records`.

    Click `Add record`.
  </Step>

  <Step title="Add the A record">
    Add an `A` record with these values:

    | Field        | Value           |
    | ------------ | --------------- |
    | Type         | `A`             |
    | Name         | `@`             |
    | IPv4 address | `34.214.61.222` |
    | Proxy status | `DNS only`      |
    | TTL          | `1 hr`          |

    This points your root domain, like `acme.com`, to Zite.

    <img src="https://mintcdn.com/zite/i6-nb0s_pTXTgIMU/help/images/zite/cloudflare/cloudflare-a.webp?fit=max&auto=format&n=i6-nb0s_pTXTgIMU&q=85&s=b0e2e9af2e0eaa7b9340bed9e88bb91e" alt="Cloudflare DNS record form with the Zite A record entered" style={{ width: "100%", display: "block", border: "1px solid #E5E7EB", borderRadius: "12px" }} width="2468" height="1580" data-path="help/images/zite/cloudflare/cloudflare-a.webp" />
  </Step>

  <Step title="Add the CNAME record">
    Click `Add record` again, then add a `CNAME` record with these values:

    | Field        | Value            |
    | ------------ | ---------------- |
    | Type         | `CNAME`          |
    | Name         | `www`            |
    | Target       | `sites.zite.com` |
    | Proxy status | `DNS only`       |
    | TTL          | `1 hr`           |

    This points `www.acme.com` to your Zite app.

    <img src="https://mintcdn.com/zite/i6-nb0s_pTXTgIMU/help/images/zite/cloudflare/cloudflare-cname.webp?fit=max&auto=format&n=i6-nb0s_pTXTgIMU&q=85&s=bdaebb70f3bc73bbde4e851404d533a1" alt="Cloudflare DNS record form with the Zite CNAME record entered" style={{ width: "100%", display: "block", border: "1px solid #E5E7EB", borderRadius: "12px" }} width="2500" height="1639" data-path="help/images/zite/cloudflare/cloudflare-cname.webp" />
  </Step>

  <Step title="Save and verify in Zite">
    Click `Save` in Cloudflare after adding each record.

    Return to Zite and click `I've added the records`. Zite will check the DNS records and connect your domain once they are visible.
  </Step>
</Steps>

## If Zite still shows DNS issues

DNS changes can take a little while to update. Most domains connect within a few minutes, but it can sometimes take longer.

If the domain is not verified yet, check the following:

* The `A` record uses `@` as the name and `34.214.61.222` as the IPv4 address.
* The `CNAME` record uses `www` as the name and `sites.zite.com` as the target.
* Both records are set to `DNS only` in Cloudflare.
* There is not another `A` record for `@` pointing somewhere else.
* There is not another `CNAME` record for `www` pointing somewhere else.
* The records were saved in the DNS manager for the same domain you entered in Zite.

Once both records are correct, click `I've added the records` in Zite again.

<p className="zite-related-topics-heading">Related topics</p>

<div className="zite-related-topics">
  <a href="/help/platform/basics/customize-links">Customize app links</a>
  <a href="/help/platform/basics/customize-links/connect-godaddy">Connect Godaddy</a>
  <a href="/help/platform/access/share-to-web">Share to web</a>
</div>
