Can have part of the domain name as a parameter in my routing rules?

Posted by ajma on Stack Overflow See other posts from Stack Overflow or by ajma
Published on 2009-01-29T09:08:08Z Indexed on 2010/06/18 1:03 UTC
Read the original article Hit count: 278

Filed under:
|

I'd like to have a routing rule that accepted part of my domain name as a parameter. For example:

{name}.mydomain.com/photos/{id}

Is this even possible?

© Stack Overflow or respective owner

Related posts about asp.net-mvc

Related posts about routing