1. You are viewing our forum as a guest. For full access please Register. WindowsBBS.com is completely free, paid for by advertisers and donations.

Multiple Web Sites

Discussion in 'Windows Server System' started by Sue, 2004/12/23.

Thread Status:
Not open for further replies.
  1. 2004/12/23
    Sue

    Sue Inactive Thread Starter

    Joined:
    2002/04/12
    Messages:
    284
    Likes Received:
    0
    I have an IIS 6.0 server with one web site on it. I also have an ISA firewall.

    Can I set up a second web site on the web server? And how do I handle the firewall to handle 2 website requests, (one - college.edu, one- course.college.edu) both on the same web server?

    Thanks
     
    Sue,
    #1
  2. 2004/12/24
    ReggieB

    ReggieB Inactive Alumni

    Joined:
    2004/05/12
    Messages:
    2,786
    Likes Received:
    2
    Yes, you can do it as this MS technical docuement shows. However, I think the main problem is that with IIS you have to provide a separate IP address for each domain. I don't understand why, but I am fairly sure you do. This may not be too much of a problem if you only have two sites, but may well be a problem if you want to host many sites in this way.

    If you don't use ASP/ASP.NET, it may be easier to do what you want with Apache rather than IIS. Apache will allow you to host multiple sites/domains on a single IP. Until Mono gets a little easier to set up, an ASP/ASP.NET system will need IIS and you'll need the multiple IPs.

    Also remember that you'll need to update DNS so that each additional website has entries that point to your IIS server.

    If you can host all the sites/domains on one IP, I don't think you'll need to update ISA (they will all come in on the same ports). However, I don't use ISA and it may use rules at the service level rather than the transport layer. If so you may have to alter some of the rules. If you need an IP for each site/domain, you'll need to update ISA to tell it to allow those addresses for incoming traffic.
     

  3. to hide this advert.

  4. 2004/12/24
    Scott Smith

    Scott Smith Inactive Alumni

    Joined:
    2002/01/12
    Messages:
    1,950
    Likes Received:
    4
    Why couldnt you make the domain name college.edu and then use college.edu/course?
    That would just be a sub folder of College.edu
     
  5. 2004/12/24
    BenMcDonald[MS]

    BenMcDonald[MS] Inactive

    Joined:
    2004/12/14
    Messages:
    228
    Likes Received:
    0
    Theres a few ways to accomplish this:

    You can use a second IP and just configure the IIS site to listen on a different IP, or host headers
    How To Use Host Header Names to Configure Multiple Web Sites in Internet Information Services 5.0
    http://support.microsoft.com/default.aspx?scid=kb;en-us;308163

    Then just follow this for configuring the ISA box
    How To Securely Publish Multiple Web Sites by Using ISA Server in Windows 2000 and Windows 2003
    http://support.microsoft.com/kb/313072/EN-US/#5

    It may seem a little tricky, but its pretty straightforward.
     
  6. 2004/12/29
    Sue

    Sue Inactive Thread Starter

    Joined:
    2002/04/12
    Messages:
    284
    Likes Received:
    0
    It is the webmaster that is requesting this. I really don't know much about web design. Can you give me info on the subfolder? It sounds like it would be much easier to create college.edu/courses.

    Thanks
     
    Sue,
    #5
  7. 2004/12/29
    MOROZCO

    MOROZCO Inactive

    Joined:
    2002/12/31
    Messages:
    117
    Likes Received:
    0
    try this

    This is actually easy, just add a block of ip's in your network card and from there you can create as many actual sites in IIs you want assinging them each their own ip address from the block on the network card. You then have individual ip's listen ports on your firewall "also using a block" have your isp point a site to a paticular ip that you firewall listens to, from there you create a "static route" so when that ip gets hit it goes only to the ip on the server for that web site.

    easy peasy,

    Michael
     
  8. 2005/01/06
    Sue

    Sue Inactive Thread Starter

    Joined:
    2002/04/12
    Messages:
    284
    Likes Received:
    0
    I added a second ip address to the network card. Told the second site on IIS to use this IP address. In ISA, I created a destination rule and a web publishing rule. My problem is, I can only access the web site by ip address, not by name. What did I miss?
     
    Sue,
    #7
  9. 2005/01/06
    Sue

    Sue Inactive Thread Starter

    Joined:
    2002/04/12
    Messages:
    284
    Likes Received:
    0
    One more quick question...Is it ok for the second site to use the same port "80" or should it be a different one.

    Thanks
     
    Sue,
    #8
  10. 2005/01/11
    Sue

    Sue Inactive Thread Starter

    Joined:
    2002/04/12
    Messages:
    284
    Likes Received:
    0
    I was unable to access the website by url name with multiple ip address, so we are trying host header names.

    On article #324287, step #17. Register the host header name. Am I suppose to create a cname on the DNS server?

    Thanks
     
    Sue,
    #9
  11. 2005/01/21
    MOROZCO

    MOROZCO Inactive

    Joined:
    2002/12/31
    Messages:
    117
    Likes Received:
    0
    DNS can fix

    Ok so now you will have to create a DNS record to forward your internal sites to this site, it is working from the out side yes??

    I believe since this is on the inside you may just have to change the A record.

    see this request http://www.windowsbbs.com/showthread.php?t=40276



    If this is on the outside you will need a second IP (public) then you will add this as an ip to your firewall and create a static route (or rule) to forward this to your servers internal ip (the one for the web page)
     
  12. 2005/02/14
    NetDoc

    NetDoc Inactive

    Joined:
    2005/01/09
    Messages:
    215
    Likes Received:
    0
    It is not necessary to use additional IP addresses to have another Web Server. Use Host Headers .

    DRD
     
  13. 2005/02/14
    MOROZCO

    MOROZCO Inactive

    Joined:
    2002/12/31
    Messages:
    117
    Likes Received:
    0
    Yes

    Yes that is correct but it does make it much easer and cleaner,
     
Thread Status:
Not open for further replies.

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.