I am configuring the ArcGIS Web Adaptor for IIS 10.8.1 on an Azure virtual machine. I've set up HTTPS in IIS bound to a wildcard CA certificate (*.company.com). I've created a CNAME record at the domain registrar to point from server.company.com to the virtual machine's public Azure DNS name (vm-name.region.cloudapp.azure.com). I can navigate to https://server.company.com and get the IIS default page with a valid SSL certificate.
Now, to set up the Web Adaptor, I've connected to the Azure VM via RDP, and I'm trying to open https://server.company.com/server/webadaptor, since the documentation here indicates that the DNS alias should be used. However, when I do this, I get the error:
"The web adaptor configuration URL has to be accessed from the machine hosting the web adaptor."
Even if I use the Azure public DNS name, I still get this error.
So, which URL should I use to configure the Web Adaptor?