user3189734
user3189734

Reputation: 665

Laravel Homestead: This webpage is not available

Newbie to laravel homestead and vagrant and struggling to get my site to load in the browser. Everything looks as though its running, successfully ran vagrant up.

When i type url http://local.bookings.com:8000/ I receive message "This webpage is not available"

I should point out however that I am on Windows 7 and have nothing visibly running in Oracle VM VirtualBox Manager.

Homestead.yaml

ip: "192.168.10.10"
memory: 2048
cpus: 1

authorize: c:/Users/me/.ssh/github_rsa.pub

keys:
    - c:/Users/me/.ssh/github_rsa

folders:
    - map: /Users/me/documents/projects/bookings
      to: /home/vagrant/Code

sites:
    - map: local.bookings.com
      to: /home/vagrant/Code/bookings/public


variables:
    - key: APP_ENV
      value: local

hosts file

127.0.0.1       local.bookings.com

Upvotes: 0

Views: 772

Answers (2)

pocockn
pocockn

Reputation: 2063

I had this problem, make sure you run homestead up or vagrant up and change the host file to 192.168.10.10 local.bookings.com

Upvotes: 0

sabin adhikari
sabin adhikari

Reputation: 225

Edit the host file as

192.168.10.10 local.bookings.com

Hope this will work.

Upvotes: 2

Related Questions