Dynamic subdomains in asp.net mvc
问题 I am fairly new to asp.net, and have little experience with iis. I would like to have each user of my application get their own sub-domain, but all use the same controllers. The subdomain would then control what content is displayed. Example: user1subdomain.mydomain.com/Whatever user2subdomain.mydomain.com/Whatever Will both use the same controller. Ideally a parameter could give the user name to the controller, which could then display the appropriate content. I would like it to be flexible