ASP.NET MVC is not going to handle this for you.
Fortunately, you are not the first to do something like this. Since you have full control over routing in .NET MVC, you just need to configure something for yourself.
- , www ( , www), Request.Headers["host"] .
- , , :
Hanssens.org | ASP.NET MVC Subdomain Routing