I am currently testing the Azure App Gateway but it seems that I am not able to get it to run correctly. I have used the following article as a template https://azure.microsoft.com/en-us/documentation/articles/application-gateway-create-gateway/.
The scenario is as following. We have two Virtual Machines within the same cloud and have the IIS role and a couple (40) websites hosted on them. Both virtual machines are on the same subnet. When trying to access the sites via the Application Gateway DNS name, I get a 502 error with the following details
Web server received an invalid response while acting as a gateway or proxy server.
There is a problem with the page you are looking for, and it cannot be displayed. When the Web server (while acting as a gateway or proxy) contacted the upstream content server, it received an invalid response from the content server.
Am i missing something?
thanks in advance