0
I have some settings in the file config/app.php
of my project, as:
'base_domain' => 'aplicacao.com.br'
'url' => env('APP_URL', 'https://cliente.aplicacao.com.br')
In my route files, I have:
Route::domain('cliente.' . config('app.base_domain'))->group(function () {...
I configured a virtual host (with xampp), which has the following configuration:
<VirtualHost *:80>
ServerName www.aplicacao.com.br
ServerAlias aplicacao.com.br
DocumentRoot "meu diretório"
<Directory "meu diretório">
Options Indexes FollowSymLinks Includes ExecCGI
AllowOverride All
Require all granted
</Directory>
</VirtualHost>
When accessing the application by the browser, it never finds the views, always gives the 404 error (as if it was not finding the domain). Is my setup wrong? Would you have to set up something else?