#  Auto-Discovery: CNAME Setup

> Configure a CNAME DNS record so Windows devices automatically discover the Applivery MDM server during enrollment — no manual URLs or tokens required.

Source: https://docs.applivery.com/en/device-management/windows/enrollment/auto-discovery-domain/  •  Last updated: 2026-05-20

**Key topics:** Windows MDM auto-discovery configuration, CNAME DNS record setup, Applivery MDM enrollment, DNS propagation, Windows, Applivery, MDM, DNS, CNAME, Applivery Dashboard

---

**TL;DR:** Configure a CNAME DNS record (`enterpriseenrollment` to `domains.applivery.io`) and set your domain in Applivery to enable automatic MDM server discovery for Windows device enrollment.

The **Windows Auto-Discovery Domain** allows corporate Windows devices to automatically locate the Applivery MDM server during the enrollment process — no manual server URLs or enrollment tokens required. Users simply enter their corporate email address, and Windows queries your company's public DNS records to discover the path to Applivery.

**Define the domain in Applivery**

Once in the [**Applivery Dashboard**](https://dashboard.applivery.io/), navigate to the **Settings** section 1 and select **Windows Setup** 2 in the left-hand menu.

Locate the **Windows Auto-Discovery Domain** section 3 and find the text input field next to `enterpriseenrollment.`. Enter your organization's root corporate domain — for example, if your domain is `applivery.com`, the resulting string will read `enterpriseenrollment.applivery.com`.

![cname](https://docs.applivery.com/int/_r2/media/09ac0a4e-3ad8-478f-9f15-3474973eec71/05a04a0a-869d-4492-ae77-2f81f54935c9.png)

**Create the CNAME record in your DNS provider**

A network administrator must create a **CNAME** record in the management panel of your public DNS hosting provider. Use these exact values:

<table style="min-width: 50px;"><colgroup><col style="min-width: 25px;"><col style="min-width: 25px;"></colgroup><tbody><tr><th colspan="1" rowspan="1"><p>Parameter</p></th><th colspan="1" rowspan="1"><p>Required Value</p></th></tr><tr><td colspan="1" rowspan="1"><p><strong>Type</strong></p></td><td colspan="1" rowspan="1"><p><code>CNAME</code></p></td></tr><tr><td colspan="1" rowspan="1"><p><strong>Name / Host</strong></p></td><td colspan="1" rowspan="1"><p><code>enterpriseenrollment</code> <em>(or </em><code>enterpriseenrollment.yourdomain.com</code><em> depending on your provider's UI)</em></p></td></tr><tr><td colspan="1" rowspan="1"><p><strong>Value / Target</strong></p></td><td colspan="1" rowspan="1"><p><code>domains.applivery.io</code></p></td></tr><tr><td colspan="1" rowspan="1"><p><strong>TTL</strong></p></td><td colspan="1" rowspan="1"><p><code>3600</code> <em>(or your provider's default value)</em></p></td></tr></tbody></table>

**Save and wait for propagation**

Once the record is saved in your DNS provider, go back to the [**Applivery Dashboard**](https://dashboard.applivery.io/) and click **Save**.

:::info
DNS changes are often nearly instantaneous, but full validation by Windows client devices can take **up to 24 hours** to take effect worldwide.
:::
