so hello i am trying to set up multisite using context i followed this guide https://docs.modx.com/3.x/en/building-sites/contexts
and is this actual? like can base_url point to https? because in example it’s http.
also in apache should i point documentroot to modx root or to individual folder site ?
/www/modx/ here?
/www/modx/subdomanin - or here?
i have two subdomains there.
first domain is working the second is 404 error
Setting modx:
base url: /www/modx/
url first domain: /www/modx/site-first
url second domain: /www/modx/site-two
First Edit Context -> Context Setting:
base_url - /www/modx/site-first
http_host - first.example.com
site_startt 7
site_url - hhhttps://first.example.com
Two
base_url - /www/modx/site-two
http_host two.example…
site_startt 7
site_url - hhhttps://two.example…
In apache:
<VirtualHost *:443>
ServerName first.example…
ServerAlias first.example…
DocumentRoot /www/modx/site-first
…
<VirtualHost *:443>
ServerName two.example…
ServerAlias two.example…
DocumentRoot /www/modx/site-two
…