Getting a Trellis to run locally - windows - help out a noob

I used the roots theme a while ago and loved it.
It’s neat to see what it evolved into.

So I wanted to do the new full roots setup with this new site i am starting.

Unfortunately I am a noob and I am not used to these new/advanced development environments.
I was previously using mamp/wamp and ftp/git.

I was following this video to start with Trellis:

it seems like everything went fine, things all looked the same as the video.
up until the end

mysitename.dev is not accessible to me.
ERR_CONNECTION_REFUSED

Any idea where I screwed up?
Is this a windows thing? (i’m using windows, and I have heard it may be harder to get working)

Did you get any errors during vagrant up --provision?

Besides, trellis changed to use .test domains in dev recently. Check your dev domain name in wordpress_sites.yml.

I didn’t see any errors, only 2 warnings, but I don’t think they were related to this.

Are you saying I should .test for my canonical instead of .dev?

Also I removed the redirects lines from my wordpress_sites.yml as the video did.
Should i add them back?

Paste your group_vars/development/wordpress_sites.yml here. Let see whether the indentation is wrong.

Are you saying I should .test for my canonical instead of .dev?

Using .dev is usually fine. However, Chrome is going to force .dev over HTTPS. Save yourself some trouble, use .test

Also I removed the redirects lines from my wordpress_sites.yml as the video did. Should i add them back?

Not necessarily. Let see your wordpress_sites.yml first.


Try the professional way of debugging → vagrant destroy and then vagrant up again :slight_smile:

4 Likes