We have setup an asp.net application under the Default Web Site root with http and https bindings configured on 80 and 443 port. When we are trying to redirect to an https url from a http url, the server responds with a 302 found with the location pointing to the http url of the target page.
So the issue is that when the browser is executing a GET request for https://[domain]/folder/a.aspx, the server is responding with a 302 found with the location pointing to http://[domain]/folder/a.aspx.
We don't know how to start troubleshooting the issue. Any help is appreciated.
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)