several subdomains pointing to one folder. fasthosts problem

Posted by David on Pro Webmasters See other posts from Pro Webmasters or by David
Published on 2011-05-13T21:48:12Z Indexed on 2011/11/12 10:16 UTC
Read the original article Hit count: 292

Filed under:
|
|

I have a asp.net website (e.g. www.website.com). The idea is that you will go to the url 'yourname.website.com' and my site will request the name from the sub domain, process it and change the content accordingly.

So, I purchased my fasthosts hosting package and created a sub domain which points to a folder within my site. e.g. 'www.website.com/folder'. However, when i now go to the url 'yourname.website.com' it is immediately redirected to 'website.com/folder'. this means I cannot request the subdomain from the url because it has been lost.

I have tried contacting these guys but they don't understand and keep going on about some sort of redirect script (although i don't see how any further redirects can solve my problem).

Is there something I am missing here? Any suggests or help would be much appreciated!

© Pro Webmasters or respective owner

Related posts about ASP.NET

Related posts about redirects