+ Post New Thread
Results 1 to 4 of 4
Windows Server 2008 R2 Thread, IIS Setup in Technical; I've got a website running under IIS and under it 3 actual sites, so basically http://servername/siteA http://servername/siteB http://servername/siteC Now I've ...
  1. #1

    Join Date
    Nov 2007
    Location
    Rotherham
    Posts
    1,678
    Thank Post
    122
    Thanked 126 Times in 102 Posts
    Rep Power
    45

    IIS Setup

    I've got a website running under IIS and under it 3 actual sites, so basically

    http://servername/siteA
    http://servername/siteB
    http://servername/siteC

    Now I've creted a DNS alias for it so that people can type in to the URL and finds the server (which has a differnent name) and routes any requests onto the first site so,

    http://SiteA ==> http://servername/siteA

    However I want to set up DNS alias's for all the sites (to make it easier for people to remember which site they are going to and get their directly, not via a web page where they choose) and have it route to each site.

    http://SiteA ==> http://servername/siteA
    http://SiteB ==> http://servername/siteB
    http://SiteC ==> http://servername/siteC

    The DNS is all fine as you just point it at the server, I want to know if it's posasible, and how to, have IIS redirect to a different site based on what url was requested.

  2. #2
    SovietRussia's Avatar
    Join Date
    Mar 2013
    Location
    Powys, Wales
    Posts
    642
    Thank Post
    70
    Thanked 145 Times in 111 Posts
    Rep Power
    47
    You can use URL Rewrite to do the request analysing and redirection based on URL

    (Add a new rule)
    (Reverse Proxy)
    (Set the inbound request IP - So the server to receive the requests)
    (Click okay)
    (Double click on the Rule and change the pattern)
    Last edited by SovietRussia; 4th October 2013 at 03:38 PM.

  3. #3
    themightymrp's Avatar
    Join Date
    Dec 2009
    Location
    Leeds, West Yorkshire
    Posts
    1,220
    Thank Post
    216
    Thanked 226 Times in 195 Posts
    Rep Power
    73
    I think you need to be looking at web site host headers in the IIS.

    Take a nosey over at this page:

    Adding a host header to IIS

  4. #4

    Join Date
    Nov 2007
    Location
    Rotherham
    Posts
    1,678
    Thank Post
    122
    Thanked 126 Times in 102 Posts
    Rep Power
    45
    Quote Originally Posted by SovietRussia View Post
    You can use URL Rewrite to do the request analysing and redirection based on URL

    (Add a new rule)
    (Reverse Proxy)
    (Set the inbound request IP - So the server to receive the requests)
    (Click okay)


    (Double click on the Rule and change the pattern)
    Just tried this module but adding blank rules as everything is on the same machine. Didn't seem to work despite it working when using the test feature. Not tried the reverse proxy bit as it required stuff to be installed.

SHARE:
+ Post New Thread

Similar Threads

  1. IIS 7.5 Setup Issue/RED X/403 Forbidden
    By Paul-K in forum Home Access Plus+
    Replies: 8
    Last Post: 11th May 2013, 06:25 PM
  2. HAP+ Setup IIS 7 configuration problem
    By W32/Jbot in forum Home Access Plus+
    Replies: 8
    Last Post: 7th March 2012, 11:48 PM
  3. Getting an error when opening IIS authentication during setup
    By edutech4schools in forum Home Access Plus+
    Replies: 14
    Last Post: 13th December 2011, 12:52 PM
  4. Replies: 11
    Last Post: 12th January 2009, 05:53 PM
  5. SUSE Email Server II
    By kingswood in forum *nix
    Replies: 11
    Last Post: 8th September 2005, 09:51 AM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •