Thread: Iis bindings

    #1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Feb 2011
    Posts
    2
    Rep Power
    0

    Iis bindings


    i have set up 2 web sites on IIS 7 Server 2008
    I have very simple page I am trying to display
    I can get both sites to work if I specify localhost:80 and localhost:81 for each of the sites , without anything in the HostName

    I want to test out locally but using a Hostname, on the second web site,
    Have tried http://localhost/MyWEbSite http://localhost:81/MyWEbSite but cant get anything to work with a Hostname in the link
    Any help appreciated
    TIA
  2. #2
  3. No Profile Picture
    Contributing User
    Devshed Regular (2000 - 2499 posts)

    Join Date
    May 2004
    Location
    surfing the interwebz
    Posts
    2,410
    Rep Power
    2005
    You can use port 80 for both sites and use bindings by hostname in IIS to direct where each site points to.
  4. #3
  5. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Feb 2011
    Posts
    2
    Rep Power
    0

    Bindings


    Originally Posted by seack79
    You can use port 80 for both sites and use bindings by hostname in IIS to direct where each site points to.
    Thanks for replying.

    I put in the binding on one but on my local machine nothing happens
  6. #4
  7. No Profile Picture
    Grumpier old Moderator
    Devshed Supreme Being (6500+ posts)

    Join Date
    Jun 2003
    Posts
    14,453
    Rep Power
    4539
    I think you'll have to visit the "host header" configuration settings in the IIS manager to configure name-based domains.
    ======
    Doug G
    ======
    Bartender to Rene Descartes "have another beer?" Descartes: "I think not" and he vanished.
    --Alfred Bester

IMN logo majestic logo threadwatch logo seochat tools logo