Change the underlying URL for mailman

The situation: we have our main website externally hosted (not on virtual min). As an example I will call this So is externally hosted. We want to set up a mail server, roundcube and mailman for emails for this domain. We have managed to do this see

Everything is working except for the mailman URL.

So we have a VM we create on vultr called On we create a virtual server which serves: email for, it servers webmail via roundcube, and it servers mailman lists for

The problem is our dns for points to an external site. So mailman URL’s are getting resolved to eg which don’t work since the external site knows nothing about mailman. So we want them resolved to

What is the easiest way to change the URL that mailman uses. (I looked in /etc/mailman/ but I wasn’t sure what to change here)

Thanks in advance!


Hey, have you snooped around in the /etc/apache2/sites-available directory?

If you grep for piper, you should find the default site file contains:

Alias /pipermail /var/lib/mailman/archives/public

(I current have it commented out like this)

#Alias /pipermail /var/lib/mailman/archives/public

This isn’t exactly what you were asking for, I know.