Two domains site1.com and site2.com pointing to same php install


#1

Hi folks. I can’t figure out how to have two domain names point to the same PHP install using EE4.

Would I have to add the second domain to the container? (How would I do that? I am new to Docker.)

Or somehow create a second site/container and edit the symlinks in /opt/easyengine/sites/site2.com/ to point to my /var/lib/docker/volumes/site1com_…?

(To add insult to injury this is a brand new install and I am getting an error when trying to ee site create site2.com --type=php)

Thank you in advance!


Which is the best option right now?
#2

This should be a rather common thing to do, I’d think. But new to Docker I have no clue. Anyone here can help?