I'm getting a 'Site can't be reached" page when I go to my local dev site


#1

I’m trying to spin up a local trellis environment, and I get a ‘site can’t be reached’ page when I try to go to mydomain.dev

Anyone help had problems with this?


#2

How did you go with vagrant up ? Did you get confirmation that Your Trellis Vagrant box is ready to use! ?


#3

Yes I did, but then nothing when I go to the url.


#4

I’ve had the same issue here.

It’s not a true fix, but I was able to keep developing by doing this.

vagrant ssh
cd /srv/www/$SITENAME/current/
wp db export
exit
vagrant destroy -f && vagrant up
vagrant ssh
cd /srv/www/$SITENAME/current/
wp db import $DBNAME.sql