Dear Guys,
We have two sites in the sharepoint server. For example:
https://mycompany.com/sites1 (route to TMG to redirect)
https://mycompany.com/sites2 (route to the sharepoint servers)
Note: we have certificated installed for mycompany.com in Sharepoint, ARR and TMG servers already.
We have installed the ARR in the IIS under windows 2008 R2 already and set the Rules to match all condition then route to server farm. In the server farm, we have two server farm, one is for TMG server, one is for sharepoint 2010 servers.
The idea is we want the external access to access to the ARR server first, it will determinte which the sites (sites1 or sites2) then route the request to them. For example, if the user access sites1, it will then route to the TMG. If the user access sites2, it will route to the sharepoint server directly. However, we found that it doesn't work. It will show
"502 - 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."
Do you know how we achieve the goal?
Thanks,
Sharepoint users