Sharepoint 2010 Extranet - Reverse Proxy

I have a SharePoint 2010 server setup internally which works fine. We have setup a IIS 7 site in the DMZ with a reverse proxy to the internal SharePoint server.

I have setup the Rewrite rule on the root of the domain ie https://secure.companyname.co.uk/

<rules>
                <rule name="ReverseProxyInboundRule1" stopProcessing="true">
                    <match url="(.*)" />
                    <action type="Rewrite" url="http://extranet:8080/{R:1}" />
                </rule>
            </rules>

Open in new window


Which works fine. However....

I want to add multiple sub folder to go to different servers. For example

https://secure.companyname.co.uk/extranet/  goes to one server
https://secure.companyname.co.uk/reporting/ goes to one server
https://secure.companyname.co.uk/intranet/ goes to one server.


So for the extranet one I have

<rule name="Extranet" enabled="true" stopProcessing="true">
            <match url="^extranet(.*)" />
            <action type="Rewrite" url="http://extranet:8080/{R:1}" />
        </rule>

Open in new window


The problem is although when typing https://secure.companyname.co.uk /extranet/ tries to access the internal Sharepoint, the internal Sharepoint redirects back to the root. So I get a 404.

Server Error in '/' Application.

The resource cannot be found.

Description: HTTP 404. The resource you are looking for (or one of its dependencies) could have been removed, had its name changed, or is temporarily unavailable.  Please review the following URL and make sure that it is spelled correctly.

Requested URL: /SitePages/Home.aspx


I want to do it as sub folder so that I dont have to have multiple sub domains and multiple secure certificates.
LVL 1
nchtAsked:
Who is Participating?
 
Justin SmithSr. System EngineerCommented:
0
 
nchtAuthor Commented:
Thank you
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.