Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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?

share|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

1 Answer 1

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.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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