Ana içeriğe geç

CNAME

Route Varify's requests through your own subdomain with a CNAME instead of calling the Varify platform directly.

Last updated on 24 Mar 20261 min read

In short

When integrating the Varify.io script, 2 requests are made to the Varify application. You have the option of defining your own subdomain with a CNAME, which points to the Varify application. This means that the requests are not sent directly to the Varify.io platform but via your subdomain.

How to use the CNAME

  1. Create a subdomain: Create a new subdomain (e.g. custom.yourdomain.com).
  2. Define a CNAME: Create up a CNAME entry that points to app.varify.io shows.
  3. Contact the support: Send a message to support@varify.ioto activate the new subdomain.

The Varify.io team will activate the subdomain. This process can take up to 48 hours. To ensure that all requests are sent via your own subdomain, add the following expression to the Varify script:

window.varify.cname = true;

It is also necessary to replace the URL app.varify.io in the Varify account script with the new subdomain.

Varify Script without CNAME

<script>
window.varify = window.varify || {};
window.varify.iid = 123;
</script>

<script src="https://app.varify.io/varify.js"></script>

Varify Script with CNAME

<script>
window.varify = window.varify || {};
window.varify.cname = true;
window.varify.iid = 123;
</script>

<script src="https://custom.yourdomain.com/varify.js"></script>