Iis – Page not redirecting correctly

exchange-2010httpsiisoutlook-web-appredirect

So I'm trying to set up OWA, but I don't want my users to have to type in https://exchange.foo.com/owa

I've got the http redirect setup to redirect all requests to /owa so that narrows it down to https://exchange.foo.com/

I don't think my users are smart enough to type in that 's' at the end of http every time they want to access their mail. I want it to redirect to the full url with the 'https' and all

I've read this
which tells me that I should be able to use http redirect to redirect all traffic to https://exchange.foo.com/owa if I just type in the absolute path to the page. When I do that, I get an error saying that the page isn't redirecting properly.

So I do a URL rewrite. I download the URL rewrite module for IIS and follow the instructions listed here. The page redirects perfectly! Then I'll sign into the forms-based authentication and the same error as before pops up – the page is not redirecting correctly.

Can someone give me a solution that works for them?

Best Answer

I think you're making this a little more complicated than it needs to be.

In the root of your Default Web Site just paste the following HTML code. When a user browses to http(s)://exchange.foo.com they will be redirected to the secure OWA page.

<html>
<head>
<title>Just a second...</title>
<meta http-equiv="refresh" content="0;url=https://exchange.foo.com/owa/" >
</head>
<body>
<h1>Just a second while you are redirected to foo.com's webmail...</h1>
</body>
</html>
Related Topic