I have a solution in ASP.NET Core 2.0 that has several shared class library projects and two web projects. The web projects are completely separate, but they use those same shared projects. The two sites need their own domain names, naturally. How should this be handled in IIS? I can't find any information regarding this scenario.
To clarify, the solution is laid out like below. Both web projects use all three of the shared projects, but the two web projects do not reference each other.
- Shared Projects
- MyApp.Core
- MyApp.Data
- MyApp.Services
- Web Projects
- MyApp.Web
- MyApp.Admin
I need to run MyApp.Web at example.com, and MyApp.Admin at admin.example.com.
(Note: I'm not looking for detailed setup instructions, the docs have that covered pretty well. I'm just asking about the specific config for running multiple projects like this.)