stancl/tenancy main domain issue

Hi there,
I've installed stancl tenancy package, I followed its docs and this https://filamentphp.com/docs/2.x/admin/resources/getting-started#multi-tenancy,
when I go to the main domain localhost/admin/(register or login) I get this error :
Stancl \ Tenancy \ Exceptions \ TenantCouldNotBeIdentifiedOnDomainException Tenant could not be identified on domain localhost
NB: I can login to a tenant sub-domain If I create a tenant + domain manually, (ex foo.localhost/admin/login)
Please anyone has used it ? what am I missing ?
Was this page helpful?