I’m building a Laravel 9 app using Docker.
After this, I ran the following commands:
php artisan cache:clear php artisan config:clear php artisan route:clear composer dump-autoload
and I restarted the Docker container of the app.
What am I missing?
This is because you probably didnt edit the vhost..
Just changing the APP_URL in the .env file doesnt change how the browser resolves a domain name.
See this thread to learn how to edit a vhost file: WAMP Server virtual hosts configuration