views:

48

answers:

0

I know we set up the DNS so all subdomains point to our server and configure IIS to respond to every subdomain. I'm looking to know how to rewrite the URL so that each account uses the same set of files and they still browse at that subdomain.

Our application isn't written in MVC, so I cant rewrite abc.webapp.com to webapp.com/abc/

At the moment, we redirect abc.webapp.com to webapp.com/setcustomer?name=abc and then to a redirect to the folder where the actual app is stored ie webapp.com/thesystem/

So when customers click on a new link, they'll see webapp.com/thesystem/info.html instead of abc.webapp.com/info.html

Is there any way around this?