Subdomain configuration for IIS pointing to the same web application

We have a web application that needs to be deployed as independent subdomains to the URL http://clientName.webapp.com . Each client can choose a site name, but the web application is all the same. We are currently running .NET 2.0, moving to 3.5 on iis7, and the servers are loading using inproc session management, which runs on a shared server. It is also required that this is a real-time setting when clients subscribe and can start using webapp. It also requires that certain client sites have SSL encryption independently.

So the question is, should I use url write for this? If so, how do I set up SSL encryption myself? Or should I create a new website pointing to one application? if so, then how do I script so that it is created automatically.

thanks for the help!

+3
source share
1 answer

With this I will make a couple of assumptions:

a) All subdomains point to the same code in the file system (same document root)

b) All sites will operate 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.

  • - IIS, IP-, ( "All Unassigned" ). .
  • DNS webapp.com, IP- -. , - , DNS, .
  • SSL *.webapp.com. SSL- , . SSL , , - IIS.
  • ( , , ..).

, WordPress.

+1

Source: https://habr.com/ru/post/1772488/


All Articles