F
Filament17mo ago
alcmz

Chaging the default /admin url to subdomain

So i was tryingf to change the /admin url to subdomain like crmapp.domain.com as i will have a home page for the domain.com . I did go through the documentation in the link below: link: https://filamentphp.com/docs/3.x/panels/configuration#changing-the-path php artisan make:filament-panel crmapp But when i try to run the command to install AppPanelProvider it's not working. Or am i missing something?
6 Replies
toeknee
toeknee17mo ago
It does it supports domains with ->domain() it shouldn't matter if it's a sub or not So the docs are for v3 but you are saying you are on v3 😉
alcmz
alcmzOP17mo ago
Oh the docs is for v3 ? my bad . I'm on V2
toeknee
toeknee17mo ago
so in v2 check the config/filament.php for the domain. and set the path to be /
alcmz
alcmzOP17mo ago
I see thanks i'll take a look . I was looking for it in the document but couldn't find it
alcmz
alcmzOP17mo ago
Thanks! got it worked .

Did you find this page helpful?