locked
WHS and IIS Server(Two servers on same network) RRS feed

  • Question

  • So my question is this:

    I already have an IIS7 Server on my network running my website and blog and just added a new WHS to my network last week. My problem is that I would like to access the website for my regular website/blog as well as my HP Media Server Photo site, files, etc. I have setup a sub domain for my WHS and so is it possible to have the IIS server forward the request for the sub domain to the WHS's site? I've tried redirects but this didn't work. The only menthod I haven't tried is setting the directory of the site on IIS to the folder on the WHS of where the site files reside. However to do this, would I need to disable the IIS service on the WHS? I'm a little green when it comes to IIS and maybe an IIS forum would be a better place but I was hoping someone here has the same setup or same issue. Any help would be appreciated

    I've read about using maybe a reverse proxy to possibly make this happen, but I have no idea on how to make this happen or if it would work. Remote desktop is no problem as I will probably use the WHS RD and utilize that to remote into my other server or desktops on the network.
    Monday, January 4, 2010 9:34 PM

Answers

  •  Thanks everyone for help and hints. I was able to get this going by:

    1. Installing the Application Request Routing extension to IIS from here .

    2. Check the “Enable proxy” checkbox located in Application Request Routing feature view is IIS Manager.

    3. Created a website with the address I wanted(http://home.website.com) and added a URL Rewrite rule to the site as:

    <rule name="Homeserver">
      <match url="(.*)" />
      <action type="Rewrite" url="http://homeserver:80/{R:1}" />
    </rule>
    Simple enough really. I think my problem I was having was the "{R:1}" in the rewrite location, makes all the difference as I've found out.
    Thanks again for all the help. 
    • Marked as answer by dmills21 Monday, January 11, 2010 1:25 AM
    Monday, January 11, 2010 1:25 AM

All replies

  •  Thanks everyone for help and hints. I was able to get this going by:

    1. Installing the Application Request Routing extension to IIS from here .

    2. Check the “Enable proxy” checkbox located in Application Request Routing feature view is IIS Manager.

    3. Created a website with the address I wanted(http://home.website.com) and added a URL Rewrite rule to the site as:

    <rule name="Homeserver">
      <match url="(.*)" />
      <action type="Rewrite" url="http://homeserver:80/{R:1}" />
    </rule>
    Simple enough really. I think my problem I was having was the "{R:1}" in the rewrite location, makes all the difference as I've found out.
    Thanks again for all the help. 
    • Marked as answer by dmills21 Monday, January 11, 2010 1:25 AM
    Monday, January 11, 2010 1:25 AM
  • Hello to all

    The question is i have a windows home server visible on the internet with https://myhomeserver.homeserver.com  this server are installed with remaker windows 2003 called windows home server with iis 6.0 i think, and I have other server linux fedora with a site access from internal network from "http://site.internaldomainnetwork.com".

    I want to put the site "http://site.intrenaldomainnetwork.com" visible from the internet over the homeserver domain like this "https://myhomeserver.homeserver.com/site" the site inside the linux machine is written in PHP format.

    The servers have ip address on the same network. example: 192.168.2.20 and 192.168.2.21

    Can i do this with any software?

    If yes please tell me who can i do this.

     

    Best regards

    Thursday, February 18, 2010 6:00 PM
  • Nuno, could you post this as a new question in the Developers and Add-ins forum ?
    I'm not on the WHS team, I just post a lot. :)
    Thursday, February 18, 2010 6:07 PM
    Moderator