Problems hosting multiple ASP.Net MVC3 applications on the IIS7.5 website

Some specifications:

  • IIS 7.5
  • ASP.Net MVC3

I have three MVC3 applications that I would like to host:

  • Project A
  • Project B
  • Project C

I want the urls to look like this:

So, in IIS, I have a default site that points to a folder for ProjectA. Then I added two Applications to it, one of which points to ProjectB, and one to ProjectC and their corresponding folders on the hard drive. I store sites in C: \ sites. Each project has a folder on C: \ sites where the application files are located. As you can see, sites are not attached to the server at all.

http://domain/ProjectB, ProjectA web.config. , , , . , ProjectA web.config , :

<location path="." inheritInChildApplications="false" >
    <!-- Lots of web.config stuff for ProjectA -->
</location>

, . , IIS . ? , - . ProjectA Application, , http://domain/, .

, , , !

!

+3
2

. asp.net web.config, web.config inheritInChildApplications = "false", .

, asp.net. , .

+3

goDaddy iis "set root ", " " ( ). . , , ?

0

All Articles