Previous Next

Thread: How to setup multiple websites in IIS 6.0

Last post 06-11-2007 3:00 PM by robertmazzo. 2 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (3 items)

Sort Posts:

  • 06-11-2007, 1:25 PM

    • robertmazzo
    • Not Ranked
    • Joined on 11-08-2005, 12:31 PM
    • New York, New York
    • Posts 4

    How to setup multiple websites in IIS 6.0

     Hello,

     Here's a pretty basic question, but I seem to be having trouble figuring it out. I have one website configured on a Win 2003 box with IIS 6.0 (and it's working fine ).

     The basic question is how do I enable the second website I just created on the same box. I've already rigth-clicked and created the new website, but when I start the site it says "Cannot start site. Another website may be using the same port".

     Usually I run the main website with the server name "s10010" as the default website, but I'd like to run another website as well (i.e. s10010/myapp2 ).

    thank you in advance,

    Bob 

     

  • 06-11-2007, 2:35 PM In reply to

    Re: How to setup multiple websites in IIS 6.0

    No two services can answer on the same IP/port combination.  This measn that to configure more than one site you will need separate IP addresses, separate ports or Host Headers.  If you use a different port, such as 8080, the the port has to be specified on the URL, as in http://www.sample.com:8080/.  That's pretty inconvenient.  Of the other two options, a new IP address is the best since it has no restrictions in using SSL or anything else, but if you have a single IP to use Host Headers is a good second choice.  For more on Host Headers see:

    http://www.visualwin.com/host-header/
    http://support.microsoft.com/kb/190008
    http://www.iisanswers.com/Top10FAQ/t10-hostheaders.htm

    And of course the IIS docs:

    http://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/883a9544-3f70-4d46-a6df-bbadbd1fe7de.mspx?mfr=true

    Jeff

    Look for Wrox's new book Professional IIS 7 in your local bookstore, or order now at Amazon.com
  • 06-11-2007, 3:00 PM In reply to

    • robertmazzo
    • Not Ranked
    • Joined on 11-08-2005, 12:31 PM
    • New York, New York
    • Posts 4

    Re: How to setup multiple websites in IIS 6.0

     thanks for responding. I actually found the answer right here :

    http://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/b77cf015-017f-489c-9b5b-65ca4a679392.mspx?mfr=true

      I ended up going with the different port number and it worked fine.

     

    Thank you !

    Bob 

     

Page 1 of 1 (3 items)
Page view counter