Reply to topic
subdomain redirection
dmitch31


Joined: 13 Oct 2004
Posts: 1
Reply with quote
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

Joined: 07 Mar 2004
Posts: 160
Location: Newark, DE, USA
Reply with quote
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
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT  
Page 1 of 1  

  
  
 Reply to topic