Heya,
SBS 2003 Standard
Using OWA (Exchange SP2)
SSL Certificate for webmail.companyname.com with Alternative
remote.companyname.com
webmail.companyname.com for Exchange
remote.companyname.com for Remote Desktop / Remote Workspace page.
I have done the following:
Enabled Forms based Authentication
Install SSL ceritficate at Default Site, forced 128bit
Set Permissiosn on all root files to deny unless on local network.
Created redirect.asp file that does the following (so far it does work)
<%=Request.ServerVariables("HTTP_HOST")%>
<%=Request.ServerVariables("SERVER_NAME")%>
<%
Dim strSecureURL
If Request.ServerVariables("HTTP_HOST")="webmail.companyname.com" Then
strSecureURL = "https://"
strSecureURL = strSecureURL & Request.ServerVariables("SERVER_NAME")
strSecureURL = strSecureURL & "/exchange"
Response.Redirect strSecureURL
ElseIf Request.ServerVariables("HTTP_HOST")="remote.companyname.com" Then
strSecureURL = "https://"
strSecureURL = strSecureURL & Request.ServerVariables("SERVER_NAME")
strSecureURL = strSecureURL & "/remote"
Response.Redirect strSecureURL
Else
Response.Redirect("http://companyweb")
End If
%>
I aslo created a DNS Zone for webmail.companyname.com > this works fantastic.
The challenge now, people are so use to typing http://servername/exchange or
https://servername/exchange. Of course, this comes up with a certificate
error because it is not part of the certificate. I originally thought about
Wildcard domain names, but decided against because of cost mostly.
I can't find a method of redirecting to https://webmail.companyname.com if
they use the http://servername/exchange.
I thought I could do it within the original asp file, buy using something like
If Request.ServerVariables("HTTP_HOST") & Request.ServerVariables("URL") =
"servername/exchange" then
But this doesn't seem to work.
I thought, if I could place or edit a file in the /exchange portion of the
site that basically confirms it was accessed by webmail.companyname.com or
otherwise redirects to the that host header.
It must be something simple I'm not doing.
Any thoughts,
Chris