title: How do I host a web application and an API from the same server while keeping them in separate?
body: <p>Let's say we have 2 separate applications, a Web Api application and a MVC application both written in .NET 4.5. If you were to host the MVC application in IIS under the host header "<a href="https://www.mymvcapp.com/">https://www.mymvcapp.com/</a>" would it be possible to host the Web Api application separately in IIS under the host header "<a href="https://www.mymvcapp.com/api/">https://www.mymvcapp.com/api/</a>"?</p>
  
  <p>The processes running the 2 applications in IIS need to be separate. I know of the separate methods of hosting, self hosting and hosting using IIS. I would like to use IIS if at all possible.</p>
  
  <p>Also, how would I host two applications (an API and a web application) if each were on a separate server so that I could serve the api from <code>http://www.mymvcapp.com/api</code>?</p>