Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

Jeremy.Danner's avatar

Homestead This site can’t be reached

I use homestead at work and i have a problem with accessing the path go.cloud.staging.pindeliver.app/ this is my homestead.yaml file

---
ip: "192.168.10.10"
memory: 2048
cpus: 1
provider: virtualbox

authorize: ~/.ssh/id_rsa.pub

keys:
    - ~/.ssh/id_rsa

folders:
    - map: ~/Documents/elicit/HOMESTEAD_HOME/
      to: /home/vagrant/Code

sites:
    - map: cloud.staging.pindeliver.app
      to: /home/vagrant/Code/pinDeliver-core-cloud/app/webroot

    - map: go.cloud.staging.pindeliver.app
      to: /home/vagrant/Code/pinDeliver-driver-webapp-v2/index.php

variables:
    - key: APP_ENV
      value: local

# blackfire:
#     - id: foo
#       token: bar
#       client-id: foo
#       client-token: bar

# ports:
#     - send: 93000
#       to: 9300
#     - send: 7777
#       to: 777
#       protocol: udp

I have run the following commands

  1. homestead halt
  2. homestead destroy
  3. homeastead up

Do note that the path cloud.staging.pindeliver.app works like a charm.

0 likes
2 replies
Jeremy.Danner's avatar
Jeremy.Danner
OP
Best Answer
Level 2

I fixed it, i forgot to edit my /etc/hostsfile

sjilani's avatar

I'm having a similar issue here: I'm currently trying to get this homestead based laravel dev env working, and I'm unable to hit the home browser. I've made sure that my /etc/hosts file has 192.168.10.10 routed to sonya.local and my yaml file looks like this:

    - map: ~/code
      to: /home/vagrant/code

sites:
    - map: sonya.local
      to: /home/vagrant/code/sonya/public

The folder, ~/code exists and has a laravel project called "sonya" in it. The sites map /home/vagrant/code/sonya/public also exists in the correct place, but when I try to visit sonya.local, I get: This site can’t be reached sonya.local took too long to respond.

I've never worked with laravel, so I'm wondering if I'm just forgetting, or if there's something I'm missing. Found a tutorial that told me to look for an env file, but no such file exists either in homestead or my laravel project.

This step seems to be confusing to a lot of people, but I can't find any answers that specifically help.

Please or to participate in this conversation.