Support the ongoing development of Laravel.io →
posted 10 years ago
Configuration

I have multiple Laravel sites on 1 Homestead box and I'd like to use 'vagrant share' to direct the vagrantshare address to different Laravel /public folders, depending on which site I need running at the time. Can anyone suggest a good method for doing this?

Many thanks.

Last updated 3 years ago.
0

+1 This would be great to have. If we could provision the vm to do it on startup it would be fantastic.

Last updated 3 years ago.
0

Just change the ports of your sites in the vhost file and use those ports when connecting to vagrant share cloud.

eg. vagrant share --http <portofsitefromvhost>

Last updated 3 years ago.
0

Sign in to participate in this thread!

PHPverse

Your banner here too?

sloan58 sloan58 Joined 1 Aug 2014

Moderators

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

Your logo here?

Laravel.io

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

© 2025 Laravel.io - All rights reserved.