2

Is it possible to share one craft install across 2 servers? Say I have a US site (en only) hosted in the US and a Canadian site (en and fr) hosted in Canada.

E.g.

usa-site.com (english)
ca-site.ca (english)
ca-site.ca/fr (french)

2 Answers 2

2

Craft has exceptional locale functionality, which would cater for your different languages.

See here for relevant answer...

Besides the above, I understand that:

  1. Multi-location/domain installation is not possible at the moment.

  2. the licence for Craft applies to a domain. So for your example, each domain would require a separate Craft licence.

3
  • 1
    Actually, the license for Craft permits multi-domain use (as long as all the domains point to the same Craft installation). However, you're only allowed to access the Control Panel on a single domain, per license. To that end, I've previously set up multi-domain Craft installs that redirect to the license-holding domain whenever a user attempts to access the Control Panel. More info here. Mar 2, 2016 at 17:49
  • @MatsMikkelRummelhoff thanks for clarifying. That's really good to know!
    – Matt P
    Mar 3, 2016 at 15:36
  • Thanks for the clarification. Unfortunately I couldn't go with your solution as I have sites on completely different domains and hosts.
    – biko
    Apr 5, 2016 at 5:52
2

I ended up having the ca-site.ca host all of the locales (en_us, en_ca and fr_ca). The en_us locale was then set up to be a proxy for the usa-site.com site. That way, it's easier to maintain the code base, as well as managing the content.

Craft's locale functionality is indeed amazing. I do hope they come up with a solution that allows multi parent domain management.

@Matt P BTW thanks for the answer, I wanted to comment to it but rep is too low :)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.