Got it! I defined an APP_MAIN_DOMAIN in the .env file which then read in the routes.php as a domain group for some routes. I have no clue why that happened, but right after \Dotenv\Loader::setEnvironmentVariable() is called with "APP_MAIN_DOMAIN" the other domain just throws 404 errors. To me more precisely, it's on line 339 when putenv("$name=$value"); is called.
I'm a bit curious about putenv() now. Does that mean php puts the function's parameter in shared memory or something? I am using PHP 5.6.14.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community