We have moved our forum to GitHub Discussions. For questions about Phalcon v3/v4/v5 you can visit here and for Phalcon v6 here.

Phalcon Box (Vagrant) This site can’t be reached

Hi,

I'm trying to get Phalcon Box running. I've followed this tutorial: https://docs.phalcon.io/en/3.3/environments-vagrant

I'm on a Windows 10 machine. Changed the host file etc. But I'm getting "This site can’t be reached".

What i'm doing:

  • Installed the following applications: Virtualbox, Vagrant
  • git clone https://github.com/phalcon/box.git workspace (in my home dir)
  • git checkout v2.4.0 and run install.bat
  • vagrant up
  • vagrant ssh (it's working!)

  • Add a test folder with test index.html. Add this to the settings.yml. Change the host file in C:\Windows\System32\drivers\etc

-vagrant reload --provision

But when I view the site in the browser. I get the following: "This site can’t be reached".

I can ping the url that I added in the host file. But the site isnt showing. What a'm I missing?

Thanks in advance.

Have you Tried turning on error reporting in your application to rule out syntax or database error