Can we have custom domain for each tenant? like tenant1.app.com

Current behaviour is that each tenant will get something like panel.app.com/panel/{tenantId}/{modelResource}/create I want something like tenantId.app.com/panel/{modelResource}/create Any guide on how to achieve this?
Solution:
i think that will be possible on other tenancy packages because the tenancy on filament it works only with the same database and the same domain (not subdomains or anything else)
Jump to solution
5 Replies
Solution
DS
DS13mo ago
i think that will be possible on other tenancy packages because the tenancy on filament it works only with the same database and the same domain (not subdomains or anything else)
Ricardo Sawir
Ricardo Sawir13mo ago
aw... alright... i'm thingkin to make tenantId.app.com part to be an alias to the panel.app.com/panel/{tenantId}/{modelResource}/create
DS
DS13mo ago
i think filament allows to add domain but i dont know if that works as you intended https://filamentphp.com/docs/3.x/panels/configuration#setting-a-domain
maxvankuik
maxvankuik13mo ago
Hi Ricardo, I am also looking into this, but If we make the alias, it still has the {tenantId} in the slug right.. Did you make any progress on this idea?
Ricardo Sawir
Ricardo Sawir13mo ago
not yet, one thing I can think of is to replicate filament's way of handling the routes, and to register the livewire's pages one by one
Want results from more Discord servers?
Add your server