OWA with NAT behind reverse Proxy - posting internal IP to external clients
Hi, Here is what my network looks like Gear From Telco -> Juniper SSG Firewall, with external IP address doing NAT -> 192.168.0.6 - Linux server. Port 80 is forwarded to this machine -> 192.168.0.7 - Small Business 2003 Server For this example, my domain is foo.com The linux machine is running apache, with mod_proxy. I have it setup so that when the linux machine receives requests on exchange.foo.com it proxies them to http://192.168.0.7 NOTE**** I am testing all of this from OUTSIDE the network. If I visit http://exchange.foo.com/ I get "Welcome to windows server 2003" with 4 options, "My companies internal website, network config wizard, remove web work place, information and asnswers". If I do either of the following 1: Type in http://exchange.foo.com/exchange 2: Click on "information and answers" I can see in the Firefox status bar, that it first hits the server, but then receives a header to go to 192.168.0.7, which of course is inaccessable from outside the network. My question is: how do I make IIS push the hostname in the header instead of the IP address? Thanks..
April 20th, 2009 6:52pm
Are you talking about redirecting a reqeust that comes on http://exchange.foo.com to https://exchange.foo.com/exchange?
Configure IIS 7.0 for Redirects:
On the Client Access Server modify the iisstart.html page in C:\inetpub\wwwroot to the following:
<html>
<head>
<title>HTML Redirection to https:</title>
<META HTTP-EQUIV="Refresh"
CONTENT="1; URL=https://webmail.url.com/exchange">
</head>
<body>
This page is attempting to redirect you to <a href=" https:// webmail.url.com /exchange/">https:// https:// webmail.url.com /exchange</a><br>
If you are not redirected within a few seconds, please click the link above to access Outlook Web Access.
</body></html>
Also, configure the IIS 7.0 error pages:
Error Code 403 Set to Respond with a 302 Redirect and specify the URL
Same principle could be applied to IIS 6.BP
Free Windows Admin Tool Kit Click here and download it now
April 20th, 2009 7:46pm
Not quite. I'm taking about proxying all requests that come in on http://exchange.foo.com/exchange -> http://192.168.0.7/exchange. No redirects at all, just proxying. I did some further research and learned this issue could be service pack related, so I'll make sure those are up to date and go from there.
April 20th, 2009 10:20pm
Hi Jeff,
After reviewing thread, I do think that it is an IIS related issue rather than the Exchange problem. In order to have most appropriate support engineer to help you regarding the issue, I suggest you post your question in the following forum:
http://forums.iis.net/
Mike
Free Windows Admin Tool Kit Click here and download it now
May 8th, 2009 1:50pm