Last updated: July 24, 2026
This guide explains how to configure the .well-known directory on a Windows IIS server so Apple devices can discover the MDM service for Apple User Enrollment. It covers creating a well-known folder and a com.apple.remotemanagement file containing the downloaded ServiceDiscoveryData.json content, mapping it to a .well-known virtual directory, and adding a custom MIME type so the file is served with the application/json content type, followed by verifying the URL and troubleshooting access issues.
To enable Apple User Enrollment in MDM, configuring the .well-known directory is essential for Remote Management. This directory contains files required by Apple devices for discovery and enrollment. This guide provides step-by-step instructions for setting up the .well-known folder and configuring a custom MIME type on a Windows IIS server.
In this section, we will create a .well-known directory and a com.apple.remotemanagement file containing MDM server information. This file allows Apple devices to discover and enroll via Apple User Enrollment.
Step 1: Access the Root Directory
Step 2: Create the Directory and File


Step 3: Add a Virtual Directory
Since Windows does not allow directory names starting with ., we will create a virtual directory to map HTTP requests for .well-known to the well-known directory.


Apple devices expect the HTTP response for the com.apple.remotemanagement file to have the Content-Type header set to application/json. To configure this on the IIS server, follow these steps:
Step 1: Add a Custom MIME Type


After completing the above steps, verify the configuration by accessing the following URL in a browser or using a tool like curl:
https://{your-domain}/.well-known/com.apple.remotemanagement
Ensure that:
1. The file is accessible.
2. The Content-Type header in the response is application/json.
For more details, visit our Apple User Enrollment Guide.
Apple devices use the .well-known directory to discover the MDM service for Apple User Enrollment - it must contain a com.apple.remotemanagement file with your ServiceDiscoveryData.json content.
Create a regular folder named well-known containing the com.apple.remotemanagement file, then add a virtual directory in IIS with the alias .well-known mapped to that folder's physical path.
Apple devices expect the com.apple.remotemanagement file to be served with a Content-Type of application/json, so you must add a custom MIME type in IIS for the .remotemanagement extension mapped to application/json.
Access https://{your-domain}/.well-known/com.apple.remotemanagement in a browser or with curl, and confirm the file is accessible and its Content-Type header is application/json.