1. The first step:
First we create two MVC projects, publish to 2 specified folders such as D:\ct1 and D:\ct2
2. Step Two:
Open IIS, as
Right-click Site Add site, add your site name Ct1, specify the path to your site D:\ct1, specify the application pool, select the port number 80. Click OK to build the site Ct1.
3. Step Three:
Start setting up subsites, such as:
Right-click to add a virtual directory, such as:
Alias is the name of the subsite, the physical path is D:\ct2
This will generate a Ct2 file under the CT1 website, we right click on this ct2, converted into an application, so that our sub-site is completed. Such as:
So we can access the main site through Http://localhost:80/home/index.
Accessing subsites via Http://localhost:80/ct2/home/index
This article may not be very perfect, I hope you criticize correct
How to set a subsite for a site