# 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="https://1726200576-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MYeUDPAhozAcUAcc2Lr%2Fuploads%2FKdfx24ejn8WpWH8P1mZG%2FScreenshot%20from%202022-10-15%2019-14-04.png?alt=media&#x26;token=2f4b94ab-e77a-49fe-80ce-22fab6f8064f" alt=""><figcaption></figcaption></figure>

Then, add a new record.

<figure><img src="https://1726200576-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MYeUDPAhozAcUAcc2Lr%2Fuploads%2FuRL2gDBSxfnOPph5L9mn%2Fdownload.png?alt=media&#x26;token=b1cfe164-3c77-4710-b6ee-5bf19606634b" 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="https://1726200576-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MYeUDPAhozAcUAcc2Lr%2Fuploads%2FMpZsbT2F5nQwI7feI29e%2FScreenshot%20from%202022-10-15%2019-16-22.png?alt=media&#x26;token=2e287d0e-823a-4c12-aa5d-fd6af721efb2" alt=""><figcaption></figcaption></figure>
