laraveltldlaravel-valet

I can ping to any .dev in my Laravel Valet, but it always redirect me to Sites folder?


I'm trying to access blog.dev

I can ping anything blablabla.dev, but it always redirect me to Sites folder / localhost / 127.0.0.1. Just like picture above.

I tried

localhost/blog/public/

or

127.0.0.1/blog/public/

it works. What happened?


Solution

  • Solved. Here's what I did:

    1. valet uninstall
    2. sudo /usr/sbin/apachectl stop
    3. composer global require laravel/valet
    4. valet install
    5. valet restart

    Source: laracast.com