Webmail shows wrong address in IE address bar
Hi support,
I have an issue regarding webmail address. When i write FQDN local address or using web address both shows wrong address in IE address bar and address converted to wrong address. See example below.
If i write like this (inside local domain) :
https://servername/ it shows wrong address like
https://servername/mail.wmd-scandinavia.dk/exchange and page cannot be displayed
If i write like this (outside local domain) :
https://mail.wmd-scandinavia.dk/ it shows wrong address like
https://mail.wmd-scandinavia.dk/mail.wmd-scandinavia.dk/exchange and page cannot be displayed
If i write like this (inside local domain) :
https://servername/exchange then it shows Outlook Web Address login page correctly and same from outside if i write
https://mail.wmd-scandinavia.dk/exchange then it also shows the write web address.
Question is what is wrong here and can i know directly access the login access page by writing directly to
https://emailservername/ or
https://mail.wmd-scandinvia.dk
Exchange Server is Windows Server 2003 Sp2
Thanks in advance
Regards
Ahmed
IT Applications Manager
May 17th, 2010 2:12pm
Hi
Have you done any http redirections in IIS?
I suppose this is Exchange 2003?
Jonas Andersson MCTS: Microsoft Exchange Server 2010, Configuration | MCITP: EMA | MCSE/MCSA Blog: http://www.testlabs.se/blog
Free Windows Admin Tool Kit Click here and download it now
May 17th, 2010 6:40pm
Hi Ahmed,
The problem is caused by the wrong URL redirection. Frirst try the following troubleshoot steps:
1. Go to exchange server, open IIS.
2. Expand to Web Sites->Default Web Sites. Right click Default Web Sites and choose properties.
3. Click Home Directory tab. Under 'the content for this resource should come from, click A redirection to a URL.
4. In the Redirect to box, type /exchange. If you are using Ex2007, type /owa.
5. Under The client will be sent to, click A directory below URL entered.
6. Stop and start the Default Web Site.
Then trying to access the
https://servername or
https://mail.wmd-scandinavia.dk/ , what's result?
May 18th, 2010 10:41am
Hi both,
First of all thanks for reply. Actually i did not used any IIS redirections under properties tab and the scenario is same as Thomas mentioned. When i talk to my colleague who setup this scenario up and i investigated little bit more the default.htm page
under default location of IIS server on Exchange 2003, then i found he changed the default.htm file and used javascript to redirect page to local location. He had written like this https:/mail.xyz.com so what actually he made mistake was missing one slash.
So now it is redirecting to right location.
I have created another scenario here. If somebody tries to access this Web mail out side and inside so 2 scenarios should follow. But it seems to be below javascript code is not working for both at same time but only one at a time.
<script language="javascript">
<!--
if(document.url="https://webmail/")
// For local access, DNS name
{
window.location="https://servernamelocal/exchange"
}
else
// For all other queries from outside
window.location=https://mail.xyzwebsite.dk/exchange
//-->
</script>
Both are pointing to local server. One request is coming from outside (not working internally due to policies) and other from locally. By using this only one scenario is working at a time but not boths. Due you guys have any idea how can i handle this
that both should work.IT Applications Manager
Free Windows Admin Tool Kit Click here and download it now
May 18th, 2010 11:26am
Hi,
You should use a double equal sign (==) instead of "=':
if(document.url=="https://webmail/")
May 27th, 2010 1:05pm