Alias Setting for Mautic Domains required
-
Hi there,
when I discussed this:https://forum.cloudron.io/topic/10428/cnames-and-san-certificates?_=1704195211629
I thought aliases are available for all apps.
At least for Mautic we would need support for that too. Maybe as advanced setting. Mautic is not multi tenant supported, but - we can use a single Mautic instance for several domains, when we manually adjust the script URL for forms and tracking.
This is a scenario, when a company runs several websites with different brands, but maintains all contacts and campaigns within one Mautic instance. Its a big time safer, also it allows to make use of first party scripts and cookies.
No problem - but, the app needs to respond to calls from to the other domain. Which works fine with mautic as long as its setup with an alias.
Could that be added please?
-
-
@dsp76 aliases are enabled on a case by case basis depending on if the app supports it. Most apps actually don't support multiple domains. An app has to be carefully written to support this - for example, domain names in cookies, emails etc have to handle multiple domains correctly.
Back to mautic, I couldn't find any official docs on multiple domain setup. Are you referring to something like https://joeykeller.com/track-multiple-domains-with-mautic/ ? AFAICT, he is also the author of the plugin https://github.com/FriendlyDotCH/mautic-multi-domain.
-
Hi - a bit shorter: https://forum.mautic.org/t/how-to-serve-first-party-cookies-with-mautic-one-instance-several-domains/12406
Its really just enabling the domain responding to multiple alternative domains and having the appropriate Lets Encrypt SAN certificate. The app itself will handle it correctly.
We just replace the domain name in the scripts for forms and tracking, so we have no security issues when different domains are loading from "their" TLD. Also the cookies then have the same TLD.
-
-