OWA with simple url


Applies to:
Exchange Server 2003

Problem:
Users wanting to connect to the OWA (Outlook Web Access) Website have to enter https://mail.domain.com/exchange exactly! Quite annoying if you ask me.
Wouldn’t it be better if users could simply type in mail.domain.com ? (The browser will insert http:// on it’s own accord)

Solution:
Go to the wwwroot of the default website (usually C:\inetpub\wwwroot\) and create a new text-file called “OwaHTTPS.asp”. Put in the following:
<%
If Request.ServerVariables("HTTPS")  = "off" Then
Response.Redirect "https://" & Request.ServerVariables("HTTP_HOST") & "/Exchange"
End If
%>

Then, give the local IIS user (Default name= IUSR_) Read + Execute permissions on the file.

Now start Internet Information Services Manager and locate the Default Website. Right-Click, Properties. Go to the Documents tab. Click Add, and type in: OwaHTTPS.asp
Move this new document to the top of the list.
Click OK untill you’re out of the menus. When you get a prompt for the sub-sites, click “Select all” and OK.

Link to Microsoft KB: 839357

Share