Open Closed

tenancy sub-subdomain autoselect tenant #11104


0
henryand created

we are using ANZ 10.1 Angular/Core combined

I have adapted our multi-tenant production environment to use the tenancy placeholder "ServerRootAddress": "{TENANCY_NAME}.domain.com/", "ClientRootAddress": "{TENANCY_NAME}.domain.com/", "CorsOrigins": "{TENANCY_NAME}.domain.com/", on our domain provider, i created a CNAME entry for each tenant. this is working to autoselect the tenantId for our production environment.

i would now like to apply this to our other environments. for example: "ServerRootAddress": "{TENANCY_NAME}.qa.domain.com/", "ClientRootAddress": "{TENANCY_NAME}.qa.domain.com/", "CorsOrigins": "{TENANCY_NAME}.qa.domain.com/",

I think my problem is in the domain definition for sub-sub-domain. Any suggestions on getting the url to actually get to the site?


1 Answer(s)
  • 0
    ismcagdas created
    Support Team

    Hi @henryand

    This must be handled in your DNS provider I guess. You need to redirect all subdomains of *.qa.domain.com to the IP address of the server which contains the web app.