I've defined 2 sites in the corresponding applicationhost.config file and try run them using IIS Express from the command line. Unfortunately I'm only able to start one site at the time.

My 2 questions:
1. Is it possible at all to run multiple sites with IIS Express from one command line?
2. Can IIS run "only" one appool per IIS instance?

link|improve this question
Found the official Microsoft Website "Running IIS Express from the Command Line" but unfortunately it doesn't answer my question: learn.iis.net/page.aspx/870/… – Mike Apr 26 '11 at 23:36
feedback

1 Answer

up vote 0 down vote accepted

I think I've got a solution for my problem:

If you want to run multiple sites, make sure that they both use same application pool and then use '/apppool' command line swith.

Example: iisexpress /apppool:"Clr4IntegratedAppPool"

Above command would run all the sites that are using 'Clr4IntegratedAppPool' application pool.

But the second question remains open: Can IIS run "only" one appool per IIS instance?

Update: Answer to the second question is: Yes, only one appool per IIS instance.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.