• We should now be fully online following an overnight outage. Apologies for any inconvenience, we do not expect there to be any further issues.

How to redirect subdomains in IIS4?

DJFuji

Diamond Member
Oct 18, 1999
3,643
1
76
We're running IIS 4.0 on an NT webserver and need to get subdomain.domain.com to point to www.domain.com/subdomain. Apparently this involves going into some setting and getting the server to redirect the request to the right directory when a request comes in asking for subdomain.domain.com. Anyone know how to do this?
 

oog

Golden Member
Feb 14, 2002
1,721
0
0
i don't know if there is a good way to do this off the top of my head. the last time i ran into this issue, i wrote an isapi filter which remapped the calls.
 

DJFuji

Diamond Member
Oct 18, 1999
3,643
1
76
how do the web hosts do it? Through a script like you're talking about? It's funny, i thought that IIS or whatever webserver automatically knew that subdomain.domain.com was just a pointer to domain.com/subdomain.