Solution for SSL Certificates on tracking subdomains with https urls ?

Hello,

Whereas I'm 99.9% sure we all have this issue at one point in time, I haven't been able to find the solution to this in the forum and the KB is pretty much empty.

Anyway, here is the setup :

- MW installed at mwdomain.com, on https, on a contabo VPS

- Various domains : domainA.com, domainB.com, hosted on various VPS, all on https let's encrypt certificates

- I've created various subdomains : newsletter.domainA.com, newsletter.domainB.com on the contabo VPS

If I want all https tracking links, I need a way to get a let's encrypt certificate for newsletter.domainA.com and newsletter.domainB.com... but of course with these subdomains pointing to the webroot of mwdomain.com.

How can I do that ?

Thanks a lot.

PS: Right now I'm using CentMinMod and it's a pain in the ass because I have to :
1) create newsletter.domainA.com and newsletter.domainB.com and generates let's encrypt certificates as if they were standard domains
2) edit the vhosts of newsletter.domainA.com and newsletter.domainB.com to point to mwdomain.com, which makes tracking work
3) Every 3 months the let's encrypt certificate auto renewal will fail because the webroot isn't what it should be so I need to redo these steps...
 
This isn't really an issue specific to MailWizz but rather to handling SSL.
My question is, why not use domain aliases, because I know you can generate SSL on those, so you should be able to create domain aliases for your cnames, and have the tracking domains work just fine but also ssl renewal will work without issue.
 
Hello,

Whereas I'm 99.9% sure we all have this issue at one point in time, I haven't been able to find the solution to this in the forum and the KB is pretty much empty.

Anyway, here is the setup :

- MW installed at mwdomain.com, on https, on a contabo VPS

- Various domains : domainA.com, domainB.com, hosted on various VPS, all on https let's encrypt certificates

- I've created various subdomains : newsletter.domainA.com, newsletter.domainB.com on the contabo VPS

If I want all https tracking links, I need a way to get a let's encrypt certificate for newsletter.domainA.com and newsletter.domainB.com... but of course with these subdomains pointing to the webroot of mwdomain.com.

How can I do that ?

Thanks a lot.

PS: Right now I'm using CentMinMod and it's a pain in the ass because I have to :
1) create newsletter.domainA.com and newsletter.domainB.com and generates let's encrypt certificates as if they were standard domains
2) edit the vhosts of newsletter.domainA.com and newsletter.domainB.com to point to mwdomain.com, which makes tracking work
3) Every 3 months the let's encrypt certificate auto renewal will fail because the webroot isn't what it should be so I need to redo these steps...
For your subdomain - you can point it to same IP which you use for maindomain. So your let's encrypt SSL see IP during renewal time.
 
Back
Top