TCheck the docs before asking a question: https://docs.abp.io/en/commercial/latest/ Check the samples, to see the basic tasks: https://docs.abp.io/en/commercial/latest/samples/index The exact solution to your question may have been answered before, please use the search on the homepage.
If you're creating a bug/problem report, please include followings:
- ABP Framework version: v7.0.1
- UI type: MVC
- DB provider: EF Core
- Tiered (MVC) or Identity Server Separated (Angular): no
- Exception message and stack trace
- 403: Forbidden:
- Steps to reproduce the issue:"
I have configured the application to use the DomainName Tenant resolver
var mydomain = configuration["App:Domain"];
Configure<AbpTenantResolveOptions>(options =>
{
options.AddDomainTenantResolver("{0}." + mydomain);
});
If I do it this way I have to create a new Website under IIS and setup DNS records for the subdomain for each new tenant and also purchase a new SSL Certificate for each subdomain so that it can have the Https://.
Is there a better way to manage the creation and management of the tenants?
I can't find any documentation anywhere on how to configure the other TenantReolvers such as the RouteTenantResolveContributor.
How do we set up the Url for this one?
Maybe I am configuring the DOmainTenant resolver incorrectly and there is a way around having to setup the subdomain in IIS and purching a SSL certificate for each tenant. If so then can you let me know what I should be doing instead. If this is needed for the DomaiinTenantResolver can you let me know where I can find documentation on how to configure the other tenant resolvers and what the format of the Url would look like where this is applicable?
Thanks
1 Answer(s)
-
0
hi
You can bind a wildcard domain and get a wildcard SSL certificate for it.
https://learn.microsoft.com/en-us/iis/get-started/whats-new-in-iis-10/wildcard-host-header-support
Wildcard SSL Certificate
https://www.google.com/search?q=wildcard+ssl+certificate&oq=Wildcard+SSL+Certificate