Custom domain with CNAME

Hello. I’m trying out Matomo for the first time. For our secure website (for instance), we’d like to set up a subdomain like and CNAME it to (which is the URL we have been given).

This way, in our JS include, we will be include

Is there a way to do this? How can we use Lets Encrypt or something to generate the right certificate for the which points to And then where do we put this setting inside the Matomo UI? Couldn’t find anything self-evident.


Hi There,

Sure you can do this. Please email us at with the domain you would like to use.