Base solution for your next web application
Open Closed

Multi tenant access to host tenant #9384


User avatar
0
unidata created

Hi! AspNetZero 8.4 .Net Core Angular.

I have correctly configured the multitenant and access correctly via tenant1.mydomain.com and tenant2.mydomain.com. But now I don't know how to access the host site (the site that manages the tenants)

regards!


2 Answer(s)
  • User Avatar
    0
    maliming created
    Support Team

    hi

    www.mydomain.com is host(www).

    https://github.com/aspnetboilerplate/aspnetboilerplate/blob/dev/src/Abp.AspNetCore/AspNetCore/MultiTenancy/DomainTenantResolveContributor.cs#L56

    Of course you can also customize the DomainTenantResolveContributor. eg: host.mydomain.com or admin.mydomain.com

  • User Avatar
    0
    unidata created

    It worked perfectly with www.mydomain.com Thank you!