What is the recommended approach to add static subdomains to a website?

Posted by shg on Stack Overflow See other posts from Stack Overflow or by shg
Published on 2010-05-16T19:02:41Z Indexed on 2010/05/16 19:10 UTC
Read the original article Hit count: 232

Filed under:
|
|
|

I would like to create a few static subdomains like:

mycategory.mydomain.com

in a rather small website and would like it to point to the folder:

mydomain.com/mycategory

without showing such redirection in browser address bar.

What is an easiest way to achieve it? I can do it in either IIS settings, asp.net, C# code, etc

I guess there are better ways then creating a few separate Sites in IIS - one for each subdomain.

© Stack Overflow or respective owner

What is the recommended approach to add static subdomains to a website?

Posted by shg on Server Fault See other posts from Server Fault or by shg
Published on 2010-05-16T19:55:02Z Indexed on 2010/05/16 20:01 UTC
Read the original article Hit count: 232

Filed under:
|
|

I would like to create a few static subdomains like:

mycategory.mydomain.com

in a rather small website and would like it to point to the folder:

mydomain.com/mycategory

without showing such redirection in browser address bar.

What is an easiest way to achieve it? I can do it in either IIS settings, asp.net, C# code, etc

I guess there are better ways then creating a few separate Sites in IIS - one for each subdomain.

© Server Fault or respective owner

Related posts about subdomain

Related posts about ASP.NET