This sounds like a good use case for multiple-contexts, which is supported in MODX Cloud. You can also add additional production Clouds to any existing Account Plan if you later decide that makes the most sense.
Ryan Thrash, MODX Co-Founder
Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
discuss.answer
-
- 68 Posts
No Problem at all, i did that already and it works well.
Just keep in mind... Big Projects slows down Manager and sometimes the Site itself,
so 3 Contexts does this 3 times in one Manager.
Use less frequent or smaller sites for multicontext setups.
You can easily switch to bigger plans in future just backup and injecting into another cloud.
Really easy.
For Domain routing at the cloud itself i would recommend GatewayManager.
Greetings
Chris
-
- 68 Posts
Hi
I don't want to drag up an answered post but....... I have a couple of Modx Revo sites utilizing the context functionality.
Currently we have a 'primary' domain IE domain1.com but will also have domain2.com / domain3.com also going to sites in that context. My current host is a VPS environment and the way I have achieved this is to set up a primary domain (IE virtual host on this server - domain1.com) which physically hosts the site with all contexts. I have then set up the other domains (domain2.com and domain3.com) to just be alias of the vhost (domain1.com) which works fine.
Then in the Modx install we have a gateway plugin that simply redirects requests for each domain to the relevant contexts.
I assume that this setup is doable in the Modx cloud + contexts as this would be a deal breaker for us.
Thanks
PS but the set up looks great on face value good work!
megasteve, that is absolutely doable in Cloud.
Quote from: theoretiker at Jan 11, 2013, 01:38 PMNo Problem at all, i did that already and it works well.
Just keep in mind... Big Projects slows down Manager and sometimes the Site itself,
so 3 Contexts does this 3 times in one Manager.
Regarding the slowing down. You could 'fix' (better word is bypass) this by creating 3 users. One user for each context...