I’m very new to Trellis and have been experimenting with it but having an issue when adding an additional site to Trellis. I downloaded the example project from Git and was able to get my first site working fine. When I go in and add a second site to the wordpress_sites.yml file and the vault.yml file I can’t get the second site to work locally. I get a “Site can’t be reached” error. I ran vagrant reload and vagrant provision after updating the .yml files but nothing.
Am I missing a step? Here is what my wordpress_sites.yml file looks like:
# Documentation: https://roots.io/trellis/docs/local-development-setup/
# `wordpress_sites` options: https://roots.io/trellis/docs/wordpress-sites
# Define accompanying passwords/secrets in group_vars/development/vault.yml
wordpress_sites:
demosite1.com:
site_hosts:
- demosite1.dev
local_path: ../demosite1 # path targeting local Bedrock site directory (relative to Ansible root)
admin_email: admin@demosite1.com
multisite:
enabled: false
ssl:
enabled: false
provider: self-signed
cache:
enabled: false
demosite2.com:
site_hosts:
- demosite2.dev
local_path: ../demosite2 # path targeting local Bedrock site directory (relative to Ansible root)
admin_email: admin@demosite2.com
multisite:
enabled: false
ssl:
enabled: false
provider: self-signed
cache:
enabled: false
Any help is appreciated. I read this post: Adding sites to existing Trellis server but I don’t get an error, the site simply won’t load.