« Previous Next »

Answered Thread: http://localhost (Which site does it display if you have multiple sites)

Last post 10-27-2009 6:42 AM by anthonyrsc. 2 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (3 items)

Sort Posts:

  • 10-27-2009, 5:54 AM

    http://localhost (Which site does it display if you have multiple sites)

    Hello,
           If I have multiple websites, and I type http://localhost on the machine running IIS, how does IIS determine which site to display?

    Thanks in advance,
    anthonyrsc

  • 10-27-2009, 6:16 AM In reply to

    Answered Re: http://localhost (Which site does it display if you have multiple sites)

    Hi,

    The request will be routed to any site which is listening on port 80 with no host header configured.There can only ever be one web site with this configuration in IIS so that site will always be the one which is displayed.

    Regards,

    Paul Lynch | www.iisadmin.co.uk
  • 10-27-2009, 6:42 AM In reply to

    Re: http://localhost (Which site does it display if you have multiple sites)

    Thank you very much!

     Cheers

Page 1 of 1 (3 items)
Microsoft Communities