Creating subdomain in URL alaising
        Posted  
        
            by Jay
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by Jay
        
        
        
        Published on 2010-05-12T18:07:54Z
        Indexed on 
            2010/05/12
            18:14 UTC
        
        
        Read the original article
        Hit count: 244
        
I am creating a social networking site and one of the requirements is to have the subdomain like URL for each user. For example, for the user1 his profile page will be user1.mysitename.com and for the user2 profile page will be user2.mysitename.com.
Can it be done using url aliasing? basically user1.mysitename.com should be www.mysitename.com/profile.aspx?username=user1
I will be hosting this in windows 2003 (IIS6), any help is highly appreciated.
© Stack Overflow or respective owner