troubleshooting Question

Using IIS to forward requests to internal websites

Avatar of solplus
solplus asked on
Microsoft IIS Web Server
6 Comments1 Solution1060 ViewsLast Modified:
I have some internal websites that I want to be accessible from the Internet. The servers themselves are not accessible and so I want to allow them to be accessed by providing access through a proxy server which sits in our DMZ. In orer to achieve this, I thought that I could use IIS 7 and URL rewrite but I am failing to get this to work and all attempts to access the sites via IIS results in HTTP Error 403.14 - Forbidden.

To take our helpdesk as an example, I have created this as an application within IIS on the proxy server (I tried this as a virtual directory as well, but that did not work either). I then have created a url rewrite rule which is set to match the pattern "/helpdesk/(.*)" and rewrite this to "http://server.ourdomain.co.uk/helpdesk/{R:1}". When I test this pattern within IIS, it passes. When I use this url "http://server.ourdomain.co.uk/helpdesk" in explorer on the proxy server itself, I can access the internal website.

However, when I try to access the website by browsing from within IIS, or by tring "http://localhost/helpdesk/" on the proxy server, I get HTTP Error 403.14 - Forbidden. When I look at more detail on this error, I see "This error occurs when a document is not specified in the URL, no default document is specified for the Web site or application", but I can access the internal site via Internet Explorer from the proxy server without specifying a document.

Any thoughts?
Thanks
Alan Mason
ASKER CERTIFIED SOLUTION
solplus

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 6 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 6 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros