Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions

OWA Redirection

Posted on 2006-11-23
Last Modified: 2010-03-06
Hey all,

I am currently trying to set up a redirection for my owa users. I have tried several ms articles and a ton of links from this wonderfull site. Still can't get it cookin.

I am trying to allow my clients that type http://mail.mycompany.com to be redirected to https://mail.mycompany.com. SSL is working. Forms based is enabled. If I type in https://mail.mycompany.com everyhthing works great. When I type http://mail.mycompany.com I get and error page cannot be displayed. Any help would be appreciated Thanks
Question by:TimMcGrath
  • 4
  • 3
LVL 20

Expert Comment

ID: 18003140

Author Comment

ID: 18003250

Thanks for the reply, this is one of the articles I followed to a "T" and still nothing. After I followed that article I got the page cannot be displayed and not the ssl required error.
LVL 104

Expert Comment

ID: 18004103
Not the answer you want to hear, but I don't bother with redirection.
What you should be looking at is blocking port 80 at the firewall. You don't want anonymous traffic coming in and attacking the site.
What I do when the client insists on being able to type something.domain.com (ie no /exchange and no https) is put something on to the public web site. Create a new directory called mail and then put a single html file in there that redirects to the https version of the link. So http://www.domain.com/mail directs to https://mail.domain.com/exchange
That means you can increase the security of the network by blocking port 80 and they get an easy to remember URL.

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.


Author Comment

ID: 18004232

I would agree with you 100% unfortunatly this is a large school district....staff have shortcuts created to mail.mydomain.com on home computers...along with upper administration. I already recieved a huge backlash about the form based logon screen and the https address when I sent out notification about the change.

Any who.... can you clarify a bit for me, what would a add to the html file that would do the redirection?
LVL 104

Accepted Solution

Sembee earned 125 total points
ID: 18004252
If the server that has the web site is a Windows server, then this code is all that you need:

<% response.redirect "https://mail.domain.com/exchange" %>

Save it as default.asp

If it is a Linux box, then you will need some php.

header( 'Location: https://mail.domain.com/exchange' ) ;

Or you could do an old fashioned refresh, but those are blocked now and I don't tend to use them if I can avoid it.

<meta http-equiv="REFRESH" content="1; URL=https://mail.domain.com/exchange">

I recently consulted a site with over 3000 remote users, we made the same change. An email went out stating that the old address would not work 48 hours later and then was simply cut. It is amazing how quickly users get used to it.

LVL 104

Expert Comment

ID: 18004262
Also don't forget that you are a school which makes you a target for some unpleasant people. Here in the UK I tell anyone from a school that they only have to mention one word as being part of the reason and they can do almost what they like. Four letters, starts with p, ends with o, has the letters e and d in the middle.


Author Comment

ID: 18004307

Thanks. I will give it a shot. Schools are a different beast. over here All they have to do is cry once, dangle their contract, and they get what they want!

Windows 2003 server. So I should create a mail folder under the wwwroot folder add the code  and  name it default.html

Author Comment

ID: 18008494

That worked perfect.....Port 80 is closed and all request now go to the https://


Featured Post

NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

We are happy to announce a brand new addition to our line of acclaimed email signature management products – CodeTwo Email Signatures for Office 365.
This article explains how to install and use the NTBackup utility that comes with Windows Server.
In this video we show how to create a Contact in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Recipients >> Contact ta…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…

828 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question