Base solution for your next web application
Open Closed

How to run two instances of ASPZero as Multitenant on Windows with IIS #10679


User avatar
0
[email protected] created

Prerequisites

Please answer the following questions before submitting an issue. YOU MAY DELETE THE PREREQUISITES SECTION.

  • What is your product version? - Newest version
  • What is your product type (Angular or MVC)? - Angular
  • What is product framework type (.net framework or .net core)? .NET Core

With adding a Binding to IIS to allow HTTPS and Multitenancy, this binding is added as per your advice.

Capture.PNG

By adding a URL with "blank" value, you tie the SSL certificate to all websites on the server, hence not allowing any "diffrent" Domain/URL websites to use a alternative SSL certificate. So adding this to the ASP Zero instance, now replaces all the SSL Certificates of the other websites on the server with the one selected in this binding.

This makes it impossible to have a Production instance and a Test instance on teh same server (with diffrent Domains, even sub domains)

How can one achive having a test instance avaialble on the same server? Thanks Michael


1 Answer(s)
  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi @Michael

    I think you can have test app which also uses subdomains multi tenancy if you assign a different port to that app than 80 and 443. You can try assigning 8080 and 44301 for example. When visiting those websites, you can use http://{tenancy_name}.test.thrive.app:8080 or https://{tenancy_name}.test.thrive.app:44302.

    I haven't tried this but I think it should work.