Create Route for a specific URL without changing the URL with MVC
问题 I have a MVC Web Application that runs on www.domain.com and I need to configure a different URL binding for another domain www.domain2.com for the same web application. The new domain www.domain2.com will have to return a specific Controller Action View like /Category/Cars : routes.MapRoute( name: "www.domain2.com", url: "www.domain2.com", defaults: new { controller = "Category", action = "Cars", id = UrlParameter.Optional } ); How can I achieve this without changing the URL, so the visitor