Reputation: 31
We have a web application which must be deployed as independent subdomains to the url http://clientName.webapp.com. Each client can choose a site name, but the web application are all the same. We are currently running .NET 2.0 moving to 3.5 on iis7, and servers are load balenced with inproc session management done on a shared server. It is also required that this is a real-time seteup where clients sign up and can start using the webapp. It is also required that particular client sites have SSL encryption independently.
So question is, should I use url write to accomplish this? If so, how do I setup SSL encryptions independently? Or should I create a new website pointing to the same app? if so, how do I script this so it is created automatically.
thanks for all the help!
Upvotes: 3
Views: 1494
Reputation: 1058
With this I will make a couple of assumptions:
a) All sub-domains are pointing to the same code on the file system (same document root)
b) All sites will be running under the same webapp.com domain (i.e. app1.webapp.com, app2.webapp.com, etc.)
Here is one possible way to accomplish what you are trying to do.
This is actually a similar idea to how WordPress Multi-site works.
Upvotes: 2