Skip to content

Commit

Permalink
Merge pull request laravel#935 from driesvints/patch-1
Browse files Browse the repository at this point in the history
Use Vagrant IP address for domain linking
  • Loading branch information
taylorotwell committed Oct 16, 2014
2 parents 26b2bff + b533daa commit c405e0b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions homestead.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,11 +91,11 @@ Once you have edited the `Homestead.yaml` to your liking, run the `vagrant up` c

Don't forget to add the "domains" for your Nginx sites to the `hosts` file on your machine! The `hosts` file will redirect your requests for the local domains into your Homestead environment. On Mac and Linux, this file is located at `/etc/hosts`. On Windows, it is located at `C:\Windows\System32\drivers\etc\hosts`. The lines you add to this file will look like the following:

127.0.0.1 homestead.app
192.168.10.10 homestead.app

Once you have added the domain to your `hosts` file, you can access the site via your web browser on port 8000!
Make sure the ip address is the one you set in your `Homestead.yaml` file. Once you have added the domain to your `hosts` file, you can access the site via your web browser!

http://homestead.app:8000
http://homestead.app

To learn how to connect to your databases, read on!

Expand Down

0 comments on commit c405e0b

Please sign in to comment.