# DNS Setup with Cloudflare

{% hint style="info" %}
We highly recommend that you use your Cloudflare to manage your DNS. It comes with free SSL setup that is easy to use to ensure your site is secure.
{% endhint %}

Although this setup is used with Cloudflare, you can apply the same settings if you're using other services to manage your DNS.

If you're using Cloudflare, go to your domain that you'd like to redirect to Stencil's white label version.

<figure><img src="/files/xxFkq2W3F1fpKTywLVMT" alt=""><figcaption></figcaption></figure>

Then, add a new record.

<figure><img src="/files/vNDuL8zX7IaTIN6o7kTo" alt=""><figcaption></figcaption></figure>

Set a `CNAME` record to point to `app.usestencil.com` and fill in the required subdomain. This must match the subdomain that you have provided when setting up client in Stencil.

If you're using Cloudflare, you can also enable proxy status so that the connection is proxied through Cloudflare before going to Stencil's server. This gives your free SSL out of the box.

<figure><img src="/files/GBDFRdKsVBoLaqQgb9Z4" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.usestencil.com/using-stencil/white-label-for-business/dns-setup-with-cloudflare.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
