I need to implement the sub domains in asp.net web forms (not MVC) for all clients on fly e.g.
Here is the whole scenario
I have a General website for every one as
http://mydomain.com
and once a client is registered to my website, he will be allocated a subdomain as
client1.mydomain.com
client2.mydomain.com
client3.mydomain.com
and all clients will be served from
http://mydomain.com/clientwebsite/
with their customized contents from DB server
On the Client website we do have multiple links and options which postbacks with querystring and data. I dont know how to send that and rewrite on backend.
it can be
client1.mydomain.com/mystoreitems
or
client1.mydomain.com/section=mystoreitems
Kindly guide me how to do this.
↧