Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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:… – Mike Apr 26 '11 at 23:36
up vote 1 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
how did you find out iisexpress.exe supports that /apppool switch? I had no idea about it, and it's not in any docs I've seen. – James Nail Aug 27 '15 at 19:23

Your Answer


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.