Redirect OWA 2003 to OWA 2010 goes to internal server URL

exchangeexchange-2003exchange-2010migrationoutlook-web-app

I have two Exchange servers running in the same domain. One Exchange 2003 and one Exchange 2010. I've managed to setup bidirectional routing. I have moved some mailboxes via a "Local move request" on Exchange 2010, this was completed succesfully.

My problem: When I go to the "old" OWA 2003 site (https://legacy.company.com/exchange) and login with the user/pass of amailbox that has been moved, I am redirected to hxxps://newserver.domain.local/exchange. I'd like to be redirected to hxxps://newserver.company.com/exchange or hxxps://newserver.company.com/owa.

I've already setup the OWA url's of the new Exchange server to use newserver.comapny.com instead of newserver.domain.local, using the Set-OwaVirtualDirectory cmdlet.

PS. I've found out that the old OWA 2003 uses a HTTP 302 (permanent move) http response which redirects to the internal FQDN of the Exchange 2010 server.

Where can I setup the FQDN/URL that OWA 2003 redirects to when a mailbox is found on the new Exchange 2010 server?

If anybody has an idea I'd be much oblidged.

Best Answer

You're doing it backwards - is there a reason for this?

This is the way it's supposed to work.

  • Before you install Exchange 2010, you have Exchange 2003 on https://mail.acme-widgets.com
  • You create legacy.acme-widgets.com and make sure your firewall forwards traffic destined for this to Exchange 2003
  • You change DNS records/firewall rules so traffic destined for https://mail.amce-widgets.com is now forwarded to Exchange 2010.

When you do this, any users whose mailboxes are on Exchange 2010 will use the Exchange 2010 OWA that they have logged in to (using the external or internal URL), and any mailboxes on Exchange 2003 are forwarded to an Exchange 2003 server that you specify.

To set the URL your Exchange 2003 users are sent to, run this cmdlet Set-OwaVirtualDirectory <Your OWA Virtual Directory> -Exchange2003Url https://legacy.acme-widgets.com/exchange.