01-31-2022, 09:17 PM
(01-28-2022, 12:25 PM)I.Igor Wrote: Great idea with running multiple instances of the same application. In addition to certificates, I could use different css in this way. But I probably didn't quite get it.
https://site1.com/
https://site2.com/
..
https://siten.com/
These sites use port 443.
How can this be implemented in the application? When I try to start the second instance, I get an error: Could not bind socket. Address and port are already in use.
If you are using SA, you need 2 separate IPs. Each domain to its own IP and then IP bind each instance specifically to that IP.
If you want to use 2 domains, but a single IP you will need to deploy using HTTP.sys, ISAPI or ASPX.

