Solved

Sharepoint 2010 Extranet - Reverse Proxy

Posted on 2013-06-04
2
895 Views
Last Modified: 2013-06-19
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.
0
Comment
Question by:ncht
2 Comments
 
LVL 38

Accepted Solution

by:
Justin Smith earned 500 total points
ID: 39221850
0
 
LVL 1

Author Comment

by:ncht
ID: 39228791
Thank you
0

Featured Post

Ransomware: The New Cyber Threat & How to Stop It

This infographic explains ransomware, type of malware that blocks access to your files or your systems and holds them hostage until a ransom is paid. It also examines the different types of ransomware and explains what you can do to thwart this sinister online threat.  

Question has a verified solution.

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

Prologue It is often required to host multiple websites on a single instance of IIS, mostly in development environments instead of on production servers. I am sure it is not much a preferred solution on production servers but this is at least a pos…
Preparing an email is something we should all take special care with – especially when the email is for somebody you may not know very well. The pressures of everyday working life stacked with a hectic office environment can make this a real challen…
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

803 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