IIS - multiple sites query

Associate
Joined
24 Jul 2003
Posts
1,420
Location
West Mids
Just a quick query regarding IIS (6.0) :)

Someone else at our work place has set up a IIS server and has deployed applications like this:

Code:
http://Server/App1
http://Server/App2
http://Server/App3

Am I right in thinking that the only way to achieve this is to have a single web site in IIS and all the folders are part of the same web site? If so, if they wanted to update one of the apps then they'd have to take the whole site offline?

Is it possible to access sites in this way while keeping each site separate? From the blurb I've read it looks like I'd have to use ports/headers/separate IPs.
 
Last edited:
I used to use IIS Admin for managing multiple sites under IIS in windows XP Pro. XP can only run 1 site at a time but has the underlining framework to allow multiple sites to be added and managed.

Vista and Win 7 on the other hand can and allows multiple sites in IIS and doesn't require IIS Admin for switching.

Hope that helps.
 
If you wanted to separate them you could set them up as individual websites and adjust the host headers? They'll all be on the same IP. That way the file structure of the site will be separated, and the host headers can be set to whatever you want for domains etc.

Otherwise you might want to look into application pools, but I'm afraid my IIS admin capabilities are limited.
 
As Gord mentioned, you can set them up as individual application pools.

If you assign each folder to it's own pool then you can restart just that pool without affecting the others. A web search for 'IIS Applicaton Pool' should show you how to set them up.
 
IIS is intelligent enough to allow you to upgrade applications without having to take anything offline. It is however good practice to assign each application its own application pool. If you do need to recycle the pool, it will only affect one app.

You can have as many apps as you want under a site - they are all independent of each other. We have about 30 under the default website.
 
Thanks for all the replies :)

Due to time constraints I've deployed using a separate app pool and on a different port - I'll look into this more closely when the pressure is off.
 
Back
Top Bottom