# Has the feature for tracking multiple domains and emails in one Mautic instance be included in future versions?

**URL:** <https://forum.mautic.org/t/has-the-feature-for-tracking-multiple-domains-and-emails-in-one-mautic-instance-be-included-in-future-versions/20139>\
**Category:** General Discussion\
**Created:** [July 13, 2021, 12:27am UTC](https://forum.mautic.org/t/has-the-feature-for-tracking-multiple-domains-and-emails-in-one-mautic-instance-be-included-in-future-versions/20139 "2021-07-13T00:27:58Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![duplexcleaning](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/duplexcleaning/32/7211_2.png) [@duplexcleaning](https://forum.mautic.org/u/duplexcleaning)\
**Post date:** [July 13, 2021, 12:27am UTC](https://forum.mautic.org/t/has-the-feature-for-tracking-multiple-domains-and-emails-in-one-mautic-instance-be-included-in-future-versions/20139/1 "2021-07-13T00:27:58Z")

</div>

Hi guys,

I am wondering if the future versions of Mautic can potentially include feature to track multiple domains in one instance?

I’ve seen a page or video mentioning on the Tracking/Emailing in a Multi Domain Environment with Mautic by József Keller, but I think it is technical workaround manual method in which I struggle to follow.

Would anyone be able to clarify this and additionally add some sort of documentation to work through on the workaround? Thanks in advance.

---

<div class="post-metadata">

**Author:** ![joeyk](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/joeyk/32/11164_2.png) [@joeyk](https://forum.mautic.org/u/joeyk)\
**Post date:** [July 13, 2021, 7:01am UTC](https://forum.mautic.org/t/has-the-feature-for-tracking-multiple-domains-and-emails-in-one-mautic-instance-be-included-in-future-versions/20139/2 "2021-07-13T07:01:07Z")

</div>

Hello,  
Which part are you stuck with?

1. Adding CNAME to track multiple domains
2. Installing the MultiDomain plugin
3. Creating emails with masked domain names

Joey

---

<div class="post-metadata">

**Author:** ![mikew](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/mikew/32/5156_2.png) [@mikew](https://forum.mautic.org/u/mikew)\
**Post date:** [July 13, 2021, 7:11am UTC](https://forum.mautic.org/t/has-the-feature-for-tracking-multiple-domains-and-emails-in-one-mautic-instance-be-included-in-future-versions/20139/3 "2021-07-13T07:11:43Z")

</div>

@joeyk could you add link to the video please

---

<div class="post-metadata">

**Author:** ![joeyk](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/joeyk/32/11164_2.png) [@joeyk](https://forum.mautic.org/u/joeyk)\
**Post date:** [July 13, 2021, 7:57am UTC](https://forum.mautic.org/t/has-the-feature-for-tracking-multiple-domains-and-emails-in-one-mautic-instance-be-included-in-future-versions/20139/4 "2021-07-13T07:57:35Z")

</div>

Here you go:

[![](https://us1.discourse-cdn.com/flex020/uploads/mautic/original/2X/b/b8de8accb84d5447c9d4cc9abf124202cac16eec.jpeg "Tracking/Emailing in a Multi Domain Environment with Mautic - József Keller") ](https://www.youtube.com/watch?v=x4bh7PIVbvU)

Plugin:

> **[GitHub - FriendlyDotCH/mautic-multi-domain](https://github.com/FriendlyDotCH/mautic-multi-domain)**
>
> Contribute to FriendlyDotCH/mautic-multi-domain development by creating an account on GitHub.

---

<div class="post-metadata">

**Author:** ![mikew](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/mikew/32/5156_2.png) [@mikew](https://forum.mautic.org/u/mikew)\
**Post date:** [July 13, 2021, 3:21pm UTC](https://forum.mautic.org/t/has-the-feature-for-tracking-multiple-domains-and-emails-in-one-mautic-instance-be-included-in-future-versions/20139/5 "2021-07-13T15:21:58Z")

</div>

Such invaluable advice @joeyk . Thank you for sharing.

I have one question just for clarity sake.

On which domain do you create the CNAME ? For example if I have my site [https://surge.media](https://surge.media) but my mautic is sitting on [https://mymautic.com](https://mymautic.com).

Would I then go and update the DNS of surge.media with a CNAME name surge.media content [mymautic.com](http://mymautic.com) ?

---

<div class="post-metadata">

**Author:** ![joeyk](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/joeyk/32/11164_2.png) [@joeyk](https://forum.mautic.org/u/joeyk)\
**Post date:** [July 14, 2021, 6:54am UTC](https://forum.mautic.org/t/has-the-feature-for-tracking-multiple-domains-and-emails-in-one-mautic-instance-be-included-in-future-versions/20139/6 "2021-07-14T06:54:48Z")

</div>

Hello Mike,  
If your site is surge.media, and your mautic is [mymautic.com](http://mymautic.com), then you’d add a tracking subdomain to surge.media → m.surge.media.  
Looks like this:  
`CNAME m.surge.media mymautic.com`  
If you enter the URL m.surge.media into your browser it should load [mymautic.com](http://mymautic.com).  
You would manually overwrite [mymautic.com](http://mymautic.com) in your tracking code as m.surge.media.  
Joey

---

<div class="post-metadata">

**Author:** ![mikew](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/mikew/32/5156_2.png) [@mikew](https://forum.mautic.org/u/mikew)\
**Post date:** [July 14, 2021, 7:07pm UTC](https://forum.mautic.org/t/has-the-feature-for-tracking-multiple-domains-and-emails-in-one-mautic-instance-be-included-in-future-versions/20139/7 "2021-07-14T19:07:29Z")

</div>

Thanks for clarifying that. Is there a need to add an ssl certificate and if so on which server does it need to be added and is there a need to update nginx conf or apache conf files ?

---

<div class="post-metadata">

**Author:** ![duplexcleaning](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/duplexcleaning/32/7211_2.png) [@duplexcleaning](https://forum.mautic.org/u/duplexcleaning)\
**Post date:** [July 14, 2021, 11:51pm UTC](https://forum.mautic.org/t/has-the-feature-for-tracking-multiple-domains-and-emails-in-one-mautic-instance-be-included-in-future-versions/20139/8 "2021-07-14T23:51:14Z")

</div>

Hi @joeyk ,

Thanks for your reply and advice, it is great to see you provided reference in the thread, much appreciated.

The concept that I struggle is CNAME. Does it need to be done in DNS Manager in domain provider or just Zone editor in Cpanel/WHM?

Also would like to know further details on the point 3: creating emails with masked domain names.  
Assuming if I have one mautic installed in particular domain with subfolder “mautic” but if we want to send multiple email campaigns under different brands, it would create confusion if the web version URL of email and the sender email address comes from 1 mautic domain, hence it would likely lead to email landing in spam folder or bypass primary inbox in Gmail.

May I ask if the MultiDomain plugin achieve the objective of covering this flaw by ensuring different branded email campaigns can have its corresponding brand name attached to sender address and URL instead of the main Mautic host address?

For example:

Mautic main account hosted at [mainmautic.com](http://mainmautic.com)

Brand A email to use Brand A domain address  
Brand B email to use Brand B domain address

instead of

Brand A email to use [mainmautic.com](http://mainmautic.com)  
Brand B email to use [mainmautic.com](http://mainmautic.com)

If there is documentation on those 3 points, it would be very helpful and beneficial for everyone wishing to track email and send emails for umbrella brands.

Thank you Joey.

---

<div class="post-metadata">

**Author:** ![joeyk](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/joeyk/32/11164_2.png) [@joeyk](https://forum.mautic.org/u/joeyk)\
**Post date:** [July 15, 2021, 2:52pm UTC](https://forum.mautic.org/t/has-the-feature-for-tracking-multiple-domains-and-emails-in-one-mautic-instance-be-included-in-future-versions/20139/9 "2021-07-15T14:52:10Z")

</div>

I know it’s a complex process, I struggled makeing the concept clear during my presentation above. I’ll make a hand-on video. It’s just more simple. Should be done by tomorrow, I will ruthlessly advertise it here.

---

<div class="post-metadata">

**Author:** ![mikew](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/mikew/32/5156_2.png) [@mikew](https://forum.mautic.org/u/mikew)\
**Post date:** [July 15, 2021, 4:01pm UTC](https://forum.mautic.org/t/has-the-feature-for-tracking-multiple-domains-and-emails-in-one-mautic-instance-be-included-in-future-versions/20139/10 "2021-07-15T16:01:15Z")

</div>

Hey @joeyk

What about SSL certificate, is this needed. I add the CNAME, however when I go to the url in my browser I get a warning about phishing and was wondering if SSL is needed and if so on what server this is done ?

---

<div class="post-metadata">

**Author:** ![joeyk](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/joeyk/32/11164_2.png) [@joeyk](https://forum.mautic.org/u/joeyk)\
**Post date:** [July 15, 2021, 4:37pm UTC](https://forum.mautic.org/t/has-the-feature-for-tracking-multiple-domains-and-emails-in-one-mautic-instance-be-included-in-future-versions/20139/11 "2021-07-15T16:37:59Z")

</div>

SSL is connected to the domain, depending on the type of SSL, you might need to add a separate SSL for the subdomain. Especially if you use certbot. I’ll show it in my video as well.

---

<div class="post-metadata">

**Author:** ![duplexcleaning](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/duplexcleaning/32/7211_2.png) [@duplexcleaning](https://forum.mautic.org/u/duplexcleaning)\
**Post date:** [July 15, 2021, 11:12pm UTC](https://forum.mautic.org/t/has-the-feature-for-tracking-multiple-domains-and-emails-in-one-mautic-instance-be-included-in-future-versions/20139/12 "2021-07-15T23:12:57Z")

</div>

Thank you @joeyk , it would also be beneficial if you can also add written documentation or transcript in addition to video, because there is accessibility issue to consider, for example, hearing impaired person. Thank you.

---

<div class="post-metadata">

**Author:** ![joeyk](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/joeyk/32/11164_2.png) [@joeyk](https://forum.mautic.org/u/joeyk)\
**Post date:** [July 16, 2021, 6:39pm UTC](https://forum.mautic.org/t/has-the-feature-for-tracking-multiple-domains-and-emails-in-one-mautic-instance-be-included-in-future-versions/20139/13 "2021-07-16T18:39:05Z")

</div>

Hi, the video is ready.  
I’m explaining in detail, screenshare, explanation, etc.  
I might do a blogpost, but wanted to put out this first.  
Enjoy.

[![](https://us1.discourse-cdn.com/flex020/uploads/mautic/original/2X/0/0b45ef44fbd0c36d6880ddc085e5edc0dd0d3788.jpeg "Multi Domain tracking with Mautic") ](https://www.youtube.com/watch?v=O8_pcHMXV-M)

---

<div class="post-metadata">

**Author:** ![mikew](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/mikew/32/5156_2.png) [@mikew](https://forum.mautic.org/u/mikew)\
**Post date:** [July 19, 2021, 7:08pm UTC](https://forum.mautic.org/t/has-the-feature-for-tracking-multiple-domains-and-emails-in-one-mautic-instance-be-included-in-future-versions/20139/14 "2021-07-19T19:08:41Z")

</div>

Hey Joey,

Are you familiar with nginx as well.

I have been playing around with plugin which is great and made some adjustments to nginx conf file as well as added a new SSL certificate for the tracking domain, however I am not sure they way I am doing it is correct. It works but I played with so many things and not sure what is correct or not.

Can you explain how to create the correct certificate with certbot on nginx and if the conf file needs to be updated, or is this done by certbot and if not how many places must be updated in confd file.

---

<div class="post-metadata">

**Author:** ![mikew](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/mikew/32/5156_2.png) [@mikew](https://forum.mautic.org/u/mikew)\
**Post date:** [October 29, 2021, 2:28pm UTC](https://forum.mautic.org/t/has-the-feature-for-tracking-multiple-domains-and-emails-in-one-mautic-instance-be-included-in-future-versions/20139/15 "2021-10-29T14:28:06Z")

</div>

Hey @joeyk is this compatible with Mautic 4.0.1 yet ?

---

<div class="post-metadata">

**Author:** ![joeyk](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/joeyk/32/11164_2.png) [@joeyk](https://forum.mautic.org/u/joeyk)\
**Post date:** [October 29, 2021, 2:30pm UTC](https://forum.mautic.org/t/has-the-feature-for-tracking-multiple-domains-and-emails-in-one-mautic-instance-be-included-in-future-versions/20139/16 "2021-10-29T14:30:00Z")

</div>

Yes it is as far as I tested. Haven’t tested form emails, but should be okay.

---

<div class="post-metadata">

**Author:** ![javapete](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/javapete/32/7439_2.png) [@javapete](https://forum.mautic.org/u/javapete)\
**Post date:** [December 15, 2022, 6:10pm UTC](https://forum.mautic.org/t/has-the-feature-for-tracking-multiple-domains-and-emails-in-one-mautic-instance-be-included-in-future-versions/20139/17 "2022-12-15T18:10:44Z")

</div>

Hi Joey, this is awesome. Thank you for sharing this. Extremely valuable!  
I ran into some SSL issues in C-Panel with our namecheap host.  
They suggested using a redirect instead of an CNAME record.

To the best of your knowledge will the plugin work in this configuration?

---

<div class="post-metadata">

**Author:** ![joeyk](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/joeyk/32/11164_2.png) [@joeyk](https://forum.mautic.org/u/joeyk)\
**Post date:** [December 15, 2022, 6:44pm UTC](https://forum.mautic.org/t/has-the-feature-for-tracking-multiple-domains-and-emails-in-one-mautic-instance-be-included-in-future-versions/20139/18 "2022-12-15T18:44:42Z")

</div>

Redirection won’t help you here.  
You need to make the two domains equivalent. If you do redirection, you leave the domain = tracking won’t work.

---

<div class="post-metadata">

**Author:** ![javapete](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/javapete/32/7439_2.png) [@javapete](https://forum.mautic.org/u/javapete)\
**Post date:** [December 15, 2022, 6:57pm UTC](https://forum.mautic.org/t/has-the-feature-for-tracking-multiple-domains-and-emails-in-one-mautic-instance-be-included-in-future-versions/20139/19 "2022-12-15T18:57:10Z")

</div>

ah! Okay.  
I will go back into CPANEL and bang on it some more.  
are you two sites on the same server as mautic? or External?

---

<div class="post-metadata">

**Author:** ![joeyk](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/joeyk/32/11164_2.png) [@joeyk](https://forum.mautic.org/u/joeyk)\
**Post date:** [December 15, 2022, 6:58pm UTC](https://forum.mautic.org/t/has-the-feature-for-tracking-multiple-domains-and-emails-in-one-mautic-instance-be-included-in-future-versions/20139/20 "2022-12-15T18:58:36Z")

</div>

You need to set up SSL on all domains involved.  
But I’m not using Cpanel anymore, it’s a bit too restrictive ☹

[Next page](https://forum.mautic.org/t/has-the-feature-for-tracking-multiple-domains-and-emails-in-one-mautic-instance-be-included-in-future-versions/20139.md?page=2)
