When access UAPM via Access Gateway, getting HTTP 404.
When accessing UAPM directly via HTTPS, content is served correctly
Release : 17.3
Component : ITAM - Installation/Upgrades
It was "Server: Microsoft-IIS/10.0" for HTTP 200 response.
But it was "Server: Microsoft-HTTPAPI/2.0" for HTTP 404 response.
This meant the response was not coming from the IIS Web Instance(ITAM SERVER) but the HTTP.sys
This also meant that the HTTP.sys did not know which web instance to forward the request to.
Obviously this is not the correct response that should have been returned by the HTTP.sys, it should have been "HTTP 400 - Invalid Hostname" error, not the HTTP 404 which is "File not found".
Checked server.conf for "enableproxypreservhost" switch and found it was set to "yes" while it should be "no".