Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

NielsNumbers's avatar

Local website not accessible via APP_URL?

I created a new Larvel Application from scratch as explained at https://laravel.com/docs/8.x/installation#getting-started-on-linux

using

curl -s https://laravel.build/laracast-voting | bash
cd laracast-voting
./vendor/bin/sail up

The application runs fine under localhost but not through laracast-voting.test, although my .env file contains APP_URL=http://laracast-voting.test.

Why is this not working? I just saw that it should work like this in https://laracasts.com/series/build-a-voting-app/episodes/2 at 02:00

0 likes
1 reply

Please or to participate in this conversation.