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.
I purchased my Fasthosts hosting package and created a sub domain which points to a folder on my web hosting package at Fast Hosts. 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 sub domain 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?