I have an application to be written in ASP.Net 3.5 that needs to manage subdomains for a different website. The managing website and the controlled website are hosted on different Windows servers, but both run IIS 6.0.
The management website needs to provide a UI that can add or delete subdomains on the controlled site such that requests to those subdomains (i.e., mysubdomain.controlledsite.com and thatothersubdomain.controlledsite.com) navigate to different sections of the controlled sites web application (or, if necessary to set all of this up, to different web applications, which then also have to be created or deleted programmatically).
Where do I get started with this? Is this even possible? I've seen on some other SO questions (Is it possible to make an ASP.Net MVC route based on a subdomain?) something about routes, but I don't know if that fits my situation or not (I'm not using MVC). I can modify the code on both the management website and the controlled website, so if there is programming to be done to make this work on either end, I can do that.
To be specific, if the code stays the way it is on the controlled site (I can change if necessary), I need to receive requests like http://xxxx.mysite.com/ and map that to http://www.mysite.com/Home/xxxx/ while keeping the URL that the client sees as the former.