Question : Exchange http to https redirect error

I have been trying to get the subdomain http://mail.domain.org to forward to https://mail.domain.org and I am missing something.

I used the guide at http://support.microsoft.com/kb/839357 however I have had some problems with the script they have listed, so I changed it to something simpler:
<% response.redirect "https://mail.domain.org" %>

If typing https://mail.domain.org everything works as expected
If typing http://mail.domain.org/exchange then users are redirected correctly to https and from there everything works as expected.

However when typing http://mail.domain.org/ I get a generic 403 forbidden error, "The website declined to show this webpage", there is no further information and no sub-code.

The settings shown at the end of the MS link above are supposed to resolve this issue but for some reason they are not.

Does anyone have any other ideas how to solve this one?

Answer : Exchange http to https redirect error


Hmm the easiest way to do this....

Configure a new web-site in IIS, and set up the Host Header (website identity) as "mail.domain.org". After it's created head back into the properties and select the Host Directory tab. Change it to a redirection to a URL, and enter https://mail.domain.org/exchange.

Because HTTPS will be answered by the Default Web Site (that's where the IP and certificate are bound) you won't run into problems with forwarding like this unless you also need to provide access to standard HTTP services on the same name.

Chris
Random Solutions  
 
programming4us programming4us