![]() |
| subdomain redirection |
|
dmitch31
|
I am having a hard time finding the info I need on subdomain redirection. I've had the support folks here at hostmysite set up a wildcard domain record for me pointing anything : *.dlmdevelopment.com to my ip address.
From that point, I use an asp script to read the host header and then do a response.redirect to the folder that I would like to be displayed. For instance: I type in: dnn.dlmdevelopment.com and the redirection works, but the addressbar shows: http://www.dlmdevelopment.com/dnn/index.htm That's not what I want it to display. Rather, I want it to display: dnn.dlmdevelopment.com. Is there a way to do this well, or do I need to just look at a completely different way of doing subdomains altogether? Thanks, dmitch |
||||||||||||
|
|
|||||||||||||
|
byron
Forum Admin
|
Only way you could have dnn.domain.com and dnn2.domain.com point to different content in the root is to redirect from the root to another directory in your site.
dnn.domain.com/dnn dnn2.domain.com/dnn2 IIS has the ability to point different sub domains to seperate web sites on the server, but this is not something we support, since our infastructure is not setup for this. Plus IIS starts to crap out with a ton of sites with host headers. |
||||||||||||
|
|
|||||||||||||
| subdomain redirection |
|
||
|


