Jump to content
RESET Forums (homeservershow.com)

IIS 7.5 Reverse Proxy and ARR Multiple Sites to Seperate Subdirectories


slehmann36
 Share

Recommended Posts

I am running a Windows Server 2008 R2 SP1 web server (IIS 7.5) with the rewrite module and ARR installed. I have a few LAMP servers which do a few WordPress sites which are to be accessed via the Windows box (reverse proxy). I set up a reverse proxy rule (as seen here: http://weblogs.asp.net/owscott/creating-a-reverse-proxy-with-url-rewrite-for-iis). When I navigate to a WordPress sites' address, it should rewrite 



http://www.domain.com

 to 



http://linuxservername/sitevirtualdirectory/index.html

but instead, repeats the sitevirtualdirectory i.e



http://linuxservername/sitevirtualdirectory/sitevirtualdirectory/index.html

in the browser it would look like: 



http://www.domain.com/sitevirtualdirectory/index.html

The reverse proxy rules have been configured at the site level in IIS.


 


Any help would be much appreciated.


 


Thanks


 


P.S excuse the incorrect use of the code attribute, the URLs kept highlighting and shortening even after manually breaking them.


Edited by slehmann36
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Similar Content

    • dcrdev
      By dcrdev
      Hi All,
       
      I'm new here and was hoping someone might be able to help me in terms of churning out a specification of an upcoming server I'm looking to build/buy. Apologies if this is in the wrong section - I'm undecided on whether to go OEM or build myself.
       
      I'm looking at replacing my current set up which is based around an outdated AMD Fusion chipset and is using consumer grade components. My current server has served me well, but it's really beginning to exceed it's capacity for the kind of stuff I'm doing; also I want something that has a lot of potential for storage upgrades.
       
      The proposed set up would be used for the following tasks:
      MySQL Server hosting several databases which exceed 10gb in size. Full LAMP stack hosting several websites including an Owncloud instance. File server providing several SMB/NFS shares on the network to 3-4 people. Storing around 2tb of historic data from my current machine. Providing an always on PVR service. Running 1-2 headless windows server virtual machines. The basic blueprint for the machine is this:
      4 x WD Red 3tb Drives 1 x SSD for Boot Drive Centos 7 as the main OS Quad Core Xeon PCI-E DVB-S2 Adapter for the PVR coupled with TVHeadend server. Drives in a hardware RAID 10 array. Bluray Reader/Writer. So I've been reading up on this for days - it's become quite addictive; sadly I don't think I'm any closed to biting the bullet and purchasing everything. One of things I definitely want from my set up is removable drive caddys, such as those in the HP microserver series; this is a must.
       
      The HP Microserver G8 would be ideal, I can replace the processor with a Xeon. remove drives easily, it has a small form factor - it ticks all the right boxes. Only thing is the type of processor I can put in it are quite hard to come by and also quite costly here in the UK. Additionally I want that SSD for the boot drive on top of the 4 x WD Reds and an optical drive - the only way to achieve this is with an additional raid controller; which is a no-go given that the PCI-E slot will be taken up by the DVB-S2 card. The only way I can see around this is to connect a SATA-USB adapter to the ODD/internal USB port; not ideal!
       
      The other alternative would be to build myself, but factoring in all the components works out quite costly and I've been unable to source a chassis I'm 100% happy with; currently I'm looking at the In Win MS04.
       
      Are there any other OEM servers out there like the G8, that would be easily upgradeable i.e. easy to source parts ? If going with the custom build option, are there any corners that can be cut to keep the cost down? In particular I've been looking at the embedded Intel Avaton options - has anyone had any experience with these?
       
      Any reconsiderations you can provide would be much appreciated!
       
      Thanks.
×
×
  • Create New...