I have domain domain1.com
with an alias domain2.com
.
How I can change the location of views for domain2.com
?
I want the default pages:
- for domain1 to be
webhosting disk/Content/Views/Index.cshtml
- for domain2 to be
webhosting disk/Content/Views/Domain2/Index.cshtml
How can this be implemented via global.asax and an MVC route?