Reputation: 220
Hi I'm using windows vagrant and homestead developing laravel application.
i have this in my hosts file
192.168.10.10 laravel.dev
I wanted to expose this url so that I can test one requirements like responsiveness and the like. How to do this?
Upvotes: 0
Views: 367
Reputation: 91
First of all you are you using a private network in your Vagrantfile ? something like :
config.vm.network "private_network", ip: "192.168.10.10"
Upvotes: 0
Reputation: 1088
Use the share command: https://laravel.com/docs/5.5/homestead#sharing-your-environment
Also, you should change your .dev
TLD to .test
otherwise browsers will start complaining about your site.
Upvotes: 1