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:Jump to 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)
5 Replies
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)
aw... alright...
i'm thingkin to make tenantId.app.com part to be an alias to the panel.app.com/panel/{tenantId}/{modelResource}/create
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
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?
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