I am building a few web sites in asp.net core (multiple user interface applications and a web api app). They all work together, utilising the web api. For the purpose of m
You could use a reverse proxy for serving multiple ASP Net Core application on the same domain.
Using IIS I'm not quite sure but you need to install URL Rewrite and then follow the documentation provided by Microsoft (also this one should be helpful).
You can also use nginx using location and proxy_pass as follow:
...
Some nginx Configuration
location /App1 {
proxy_pass http://127.0.0.1:443;
}
location /App2 {
proxy_pass http://127.0.0.1:444;
}
location /App3 {
proxy_pass http://127.0.0.1:445;
}
Other configurations...
And then, each time you want add another ASP Net application to your domain you'll need to add another location, run the application on a different point and restart nginx.