I needed to pass a subdomain name to all views so that when they generate routes with route(\'namedRoute\') users will end up in the same subdomain.
route(\'namedRoute\')
I en