Date: Nov 5, 2012
How to redirect OWA
How to redirect OWA from http://webmail.company.comto http://webmail.company.com/owa
or to http://webmail.company.com/exchange
or to https://webmail.company.com and so one.
This works with Microsoft Exchange server 2003, 2007 and 2010.
The below example redirects http://webmail.company.com to https://webmail.company.com/exchange
Save the script as the default document (index.html or whatever it is in the wwwroot directory of Exchange/IIS dir)
<HEAD>
<SCRIPT language="JavaScript">
<!--
var browserName=navigator.appName;
if (browserName=="Netscape")
{
window.location="https://webmail.company.com/exchange";
}
else
{
if (browserName=="Microsoft Internet Explorer")
{
window.location="https://webmail.company.com/exchange";
}
else
{
window.location="https://webmail.company.com/exchange";
}
}
//-->
</SCRIPT>
</HEAD>
If you find this article helpful, please send me a note to Mike@bostonIT.com so I can keep on adding quality hands-on articles.
