0
qualifyme created
we have multi tenancy project and we want to set it base in subdomain, How can we do that?
thanks
Markdown is supported
Copy & paste or drag & drop images (max 30 MB per image)
4 Answer(s)
-
1
- What is your product version?
- What is your product type (Angular or MVC)?
- What is product framework type (.net framework or .net core)?
Markdown is supportedCopy & paste or drag & drop images (max 30 MB per image) -
0
we are using .net core jquery and aspnet zero v6.2 currently, we are slowly upgrading it to newer version
Markdown is supportedCopy & paste or drag & drop images (max 30 MB per image) -
1
You can configure the domain format in the PreInitialize method of your module (like Configuration.Modules.AbpWebCommon().MultiTenancy.DomainFormat = "{0}.mydomain.com";). If the domain format is "{0}.mydomain.com" and the current host of the request is acme.mydomain.com, then the tenancy name is resolved as "acme". The next step is to query ITenantStore to find the TenantId by the given tenancy name. If a tenant is found, then it's resolved as the current TenantId.
Markdown is supportedCopy & paste or drag & drop images (max 30 MB per image) -
0
thanks for the reply will try to do this guide. thanks again
Markdown is supportedCopy & paste or drag & drop images (max 30 MB per image)