title: How do I add an application to Default Web Site in IIS 7?
body: <p>I have my main app at <code>c:\inetpub\wwwroot\</code>. I've created a separate application, and put it at <code>c:\inetpub\subapp</code>. I'd like to set it up so that if I visit <a href="http://www.mysite.com/subapp" rel="noreferrer">http://www.mysite.com/subapp</a>, it will run my subapp application.</p>
  
  <p>I went into IIS, right-clicked on Default Web Site, and clicked Add Application. I set the physical path to my subapp, and tested it, but I got an error saying <strong>"Invalid application path"</strong></p>
  
  <p><img src="https://i.stack.imgur.com/PYlng.png" alt="enter image description here"></p>
  
  <p>Am I doing something wrong here, am I not adding the application correctly?</p>