Solved

Redirect base URL to external site on Exchange 2013 server

Posted on 2013-11-19
6
766 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
Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

 

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

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.

Question has a verified solution.

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

Utilizing an array to gracefully append to a list of EmailAddresses
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.
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.…
This tutorial will walk an individual through the steps necessary to join and promote the first Windows Server 2012 domain controller into an Active Directory environment running on Windows Server 2008. Determine the location of the FSMO roles by lo…

773 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