Hostname dosent work locally with tailscale

Hello, i have passbolt running in a machine , using hostname dashboard.local; but i can only access it when im connected to tailscale for some reason, it dosent work locally.
how can i fix it so it works in both