Open Closed

Resolving Tenants in Deployed Abp Application #4695


User avatar
0
AdamMusson created

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(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)
Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v10.0.0-preview. Updated on July 03, 2025, 08:38