Support the ongoing development of →
Last updated 2 years ago.

The Homestead machine name is (by default) homestead: = "laravel/homestead"
    config.vm.hostname = "homestead"

From the config documentation:

In this example, 'local' is the name of the environment and 'your-machine-name' is the hostname of your server. On Linux and Mac, you may determine your hostname using the hostname terminal command.

Try this instead:

$env = $app->detectEnvironment(array(
    'local' => array('homestead'),
Last updated 2 years ago.

Thanks very much, I've never used Vagrant before but should have second guessed the name!

Last updated 2 years ago.

Sign in to participate in this thread!


Your banner here too?


We'd like to thank these amazing companies for supporting us

Your logo here?

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 - All rights reserved.