Welcome to Headwind MDM Q&A, where you can ask questions and receive answers from other members of the community.

Please do not post bug reports, missing feature requests, or demo inquiries. If you have such an inquiry, submit a contact form.

0 votes
Hi, I added the second base URL. When the device is enrolled, will the second base URL also show up device automatically, or do we have to add it manually?
 

 // Default URL of the web panel (scheme + host!)

        buildConfigField("String", "BASE_URL", "\"https://app.h-mdm.com\"")

        // URL of the secondary address of your web panel, called when the primary host is not available.

        // Could be equal to the BASE_URL parameter

        buildConfigField("String", "SECONDARY_BASE_URL", "\"https://app.h-mdm.com\"")
by (340 points)

1 Answer

0 votes
The secondary base URL is called only when the primary base URL doesn't respond. Both URLs should point to the same instance of Headwind MDM.

When the device is enrolled, it sends a request to the primary URL first. Only if the primary URL fails, the request is sent to the second URL. So you shouldn't expect that Headwind MDM calls both URLs.
by (37.6k points)
But the second URL will also enroll the device, right? I can see the device with the base URL, but I can't see it with the second URL.
If both URLs point to the same instance of Headwind MDM, calling the secondary URL should enroll the device if the primary URL fails.
Okay Thanks for your reply. If I set both the base and second URL in the device, Both URLs are working fine. will the device show up on both dashboards (web panel) or only on one?
There should not be more than one web panel. Using different Headwind MDM instances for primary and secondary base URL is incorrect and will not work.
...