Solved

Redirect base URL to external site on Exchange 2013 server

Posted on 2013-11-19
6
763 Views
Last Modified: 2013-11-25
Hi, I'm trying to redirect the base URL of a website to an external address where the company website is hosted. Currently the www.company.com results in a 403 error, whereas we'd like it to redirect to www.companywebsite.com while still allowing www.company.com/owa, /ecp, etc to remain unaffected. This was very easy with Exchange 2003 and Exchange 2007 servers but, with Exchange 2013 seems to like to keep the IIS setup locked down for the sole use of Exchange.

Can anyone help me with this? The HTTP redirect seems to have no effect even if I disable SSL for the root URL and enable it for all the Exchange components.
0
Comment
Question by:gabiosz
  • 4
  • 2
6 Comments
 
LVL 15

Expert Comment

by:weinberk
ID: 39662446
How about editing the index page in the root of the document directory to redirect using a meta refresh tag like this:

<html>
<head>
<meta http-equiv="refresh" content="0; url=http://www.companywebsite.com/">
</head>
<body>
Redirecting
</body>
</html>

Open in new window


That should redirect www.company.com to the real website.  It'll only work with http://www.company.com/ and not www.company.com/page2.html.  In that case you'd need the same thing for page2.html...

Hope this helps.
0
 

Author Comment

by:gabiosz
ID: 39662651
Thanks, but this is the sort of thing i used to be able to do. Now it all ties in with Outlook Web Access, so if I disable SSL required it will stop giving me a 403 error but then redirect to the Outlook Web Access page.
0
 
LVL 15

Expert Comment

by:weinberk
ID: 39662677
Ah, right.  

So you've setup exchange on the www hostname?  You're not to far into this deployment,  would you instead using something like mail.company.com?  Then have www.company.com be a cname to www.companyweb.com.  It's unusual in my opinion to have exchange running on the www hostname.
0
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

by:gabiosz
ID: 39662758
I have been running it like this for years, so it's a bit late to re-arrange it now.  

The email domain is not used for the company website, it's email only so it isn't critical. However, it would be nice to have the www.emaildomain.com redirecting to www.companywebsite.com

I have managed to get the redirect partly working, in as far as the iisstart.htm will redirect, but it won't load this by default.

I have disabled SSL required on the Default Web Site and re-enabled it on the Applications, so they are all secure. Then I tried setting the iisstart.htm to redirect but, it won't load the iisstart.htm unless it's typed manually. It just loads a blank page otherwise.
0
 

Accepted Solution

by:
gabiosz earned 0 total points
ID: 39662813
Ok, fixed it by removing the web.config file from the web root which was making a mess of it all.
0
 

Author Closing Comment

by:gabiosz
ID: 39674090
found my own solution
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Marketers need statistics and metrics like everybody else needs oxygen. In this article we explain how to enable marketing campaign statistics for Microsoft Exchange mail.
This article explains in simple steps how to renew expiring Exchange Server Internal Transport Certificate.
This tutorial will walk an individual through the process of configuring basic necessities in order to use the 2010 version of Data Protection Manager. These include storage, agents, and protection jobs. Launch Data Protection Manager from the deskt…
This tutorial will walk an individual through the process of configuring their Windows Server 2012 domain controller to synchronize its time with a trusted, external resource. Use Google, Bing, or other preferred search engine to locate trusted NTP …

910 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

Need Help in Real-Time?

Connect with top rated Experts

25 Experts available now in Live!

Get 1:1 Help Now