Skip to content

Instantly share code, notes, and snippets.

@ps
Created April 11, 2016 03:02
Show Gist options
  • Save ps/e03fa57249e00ba938136cf765bd04b8 to your computer and use it in GitHub Desktop.
Save ps/e03fa57249e00ba938136cf765bd04b8 to your computer and use it in GitHub Desktop.
add another site to laravel homestead
edit Homestead.yaml and add under sites section
-map: domain.app
to: /path/to/public
on own machine (NOT VM) edit /etc/hosts and add another entry, grab IP from Homestead.yaml and add line:
<ip-from-yaml> domain.app
vagrant reload --provision
DONE!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment