Solved

Redirect base URL to external site on Exchange 2013 server

Posted on 2013-11-19
6
762 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
Comment Utility
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
Comment Utility
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
Comment Utility
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
Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

 

Author Comment

by:gabiosz
Comment Utility
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
Comment Utility
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
Comment Utility
found my own solution
0

Featured Post

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

The recent Microsoft changes on update philosophy for Windows pre-10 and their impact on existing WSUS implementations.
Local Continuous Replication is a cost effective and quick way of backing up Exchange server data. The following article describes the steps required to configure Local Continuous Replication. Also, the article tells you how to restore from a backup…
In this Micro Tutorial viewers will learn how to use Windows Server Backup to create full image of their system. Tutorial shows how to install Windows Server Backup Feature on Windows 2012R2 and how to configure scheduled Bare Metal Recovery backup.…
The video tutorial explains the basics of the Exchange server Database Availability groups. The components of this video include: 1. Automatic Failover 2. Failover Clustering 3. Active Manager

763 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

9 Experts available now in Live!

Get 1:1 Help Now