Multi domains in Craft 2 licensing I've setup multi domains with a single Craft 2 core folder using the Path Constants methods in the docs. It's seems like a nice setup as I only have to update the core Craft files once when there's an update for all the domains. But under this setup all the domains have their own separate control panel and plugins but share the core Craft app folder.



The reason I've done this is that my client wants to be able to add micro sites in the same install as their main company site for specific marketing.

However, the licensing of Craft says that: You’re allowed to run a single Craft license on multiple domains (e.g. example.com and example.fr), so long as they’re all a part of the same website. In order to enforce that, Craft does have one technical limitation: you may only access Craft’s control panel from one public domain per Craft license.

So am I right in assuming that my setup will be ok for example.com, example.co.uk, subdomain1.example.com, subdomain2.example.com, example.fr etc, but if the client wants to use a completely different domain name for the micro site like brilliantmarketingurl.com then the license won't be valid? As each site has it's own control panel and database with this setup.

Is this the case and is this still applicable with Craft 3 introducing multi-sites support?

Would appreciate some advice on this, as I need to discuss the potential implications with my client. Thanks.
Using this technique to share the Craft app folder across different sites, results in each site having their own config folder. Since the license.key file that determines the licensing status of Craft lives in the config folder, setting up your sites like this will require a separate license for each site, as the domain2 site won't have access to the license.key file in domain1/config.