« Previous Next »

Thread: 2 Sites on IIS 7 problem

Last post 07-13-2009 10:14 PM by Leo Tang - MSFT. 3 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (4 items)

Sort Posts:

  • 07-08-2009, 5:31 AM

    • manunta
    • Not Ranked
    • Joined on 07-08-2009, 9:22 AM
    • Posts 3

    2 Sites on IIS 7 problem

    I everybody ,

     this is my web sites configuration on iis 7

    I have 2 (DIFFERENT WEB SITES) web sites on my machine (Win web server 2008)

    the first have this configuration

    1)
    hostname =
    port = 8081
    ip address = 192.168.1.28

    the second one have this configuration
    2)
    hostname= pippo
    port = 8081
    ip address = 192.168.1.28

    the problem is: THE SECOND WEB SITE IS NOT VISIBLE
    THE WEB BROWSER SHOW THE MESSAGE

    Internet Explorer cannot display the webpage


    Which is the problem ?
    Is it a problem inside web.config
    which kind of configuration I have to use in IIS7

    THANKS 

     

  • 07-08-2009, 8:53 AM In reply to

    Re: 2 Sites on IIS 7 problem

    You can only have a single site at an IP address/port combination.  Both your sites are on the same IP and the same port.  Change the port on one.

    Jeff

    Look for Wrox's new book Professional IIS 7 in your local bookstore, or order now at Amazon.com
  • 07-08-2009, 9:59 AM In reply to

    • manunta
    • Not Ranked
    • Joined on 07-08-2009, 9:22 AM
    • Posts 3

    Re: 2 Sites on IIS 7 problem

    Hi jeff zina,

    thanks a lot for the answer!

    But I Thought that was possible to activate more sites with same ip/port but different
    host name (admin.mysite.com,develop.mysite.com)
    see this post

    http://www.bloggingdeveloper.com/post/Creating-IIS7-sites-applications-and-virtual-directories-using-Internet-Information-Services-Manager.aspx 

    Im really confused !!!

     

  • 07-13-2009, 10:14 PM In reply to

    Re: 2 Sites on IIS 7 problem

    Hi,

    Yes, we can use host headers to create multiple web site identities without using a unique IP address/port for each site.

    Could you run "ping hostname" command to verify that the hostname is resolved to correct IP address ? 

    If the ping command is correct, could you post the relevant IIS log entries(%systemdrive%/inetpub/logs/logfiles/W3SVC+n) here? The status code of the failed request should indicates a specific cause of this issue.

    Leo Tang
    Microsoft Online Community Support

    Please remember to mark the replies as answers if they help and unmark them if they provide no help.
Page 1 of 1 (4 items)
Microsoft Communities