How to add new Domain?

Hello, i'm really new to mailman3 and I've been using mm2.1 couple of years. It's really hardto understand documentation. But I'll do one in german language next time. I've got it installed ob Debian12 and it's working now.
It takes a little more time to understand all settings and also the difference between postorius and django and what is when used for.
But what I do not understand 'til now is how to add a new domain.
My running config has one domain (e.g.) testdomain1.org and everything is working fine. The Domain has a virtualhost which listens on *:443 (with LE cert) Postfix works like a charm.
The interface of the machine is bound to one IP Address public but for example here written as: 192.168.200.15
Id like to add a new Domain.
My first step would be to add another IP Address to the interface: (e.g.) 192.168.200.16 Then I'll change the virtual host settings in apache conf from first domain which is actually listeing to *:443 to 192.168.200.15:443 And add a second site with 192.168.200.16:443 So the "physical" part is done
Is that right 'til now?
After that I'll go to the admin page xxxx/mailman3/admin which brings django admin page up. On that page I'll add "websites" and add testdomain2.net
Last step is adding "mail domain" site: testdomain2.net mail domain: testdomain2.net
After that I can add lists to that domain and mails to any list @testdomain2,net should be routed right?
Maybe I'm to old (56yrs) but I've read a lot of documentation and everything was clear and understandable. It was never a question of linux or windows OS but on who'S writing the doc. I can't find any doc about the web part? What about Users having no acces to the shell but the Web-Frontend? Some pictures and a "How to" and "what if" would be great!
But it's alos possible that I'm not finding it and it's somewhere out there.
Thanks in advance.

On 2/4/25 15:59, c.benner--- via Mailman-users wrote:
After that I'll go to the admin page xxxx/mailman3/admin which brings django admin page up. On that page I'll add "websites" and add testdomain2.net
That tells Django that this is a known domain for accessing the web UI, but you also have to add it to the ALLOWED_HOSTS setting in your Django settings.
Last step is adding "mail domain" site: testdomain2.net mail domain: testdomain2.net
After that I can add lists to that domain and mails to any list @testdomain2,net should be routed right?
That's all correct.
Maybe I'm to old (56yrs) but I've read a lot of documentation and everything was clear and understandable. It was never a question of linux or windows OS but on who'S writing the doc. I can't find any doc about the web part? What about Users having no acces to the shell but the Web-Frontend? Some pictures and a "How to" and "what if" would be great!
But it's alos possible that I'm not finding it and it's somewhere out there.
You may find https://docs.djangoproject.com/en/5.1/ref/contrib/sites/to be helpful.
Documentation of the Postorius UI is sorely lacking. The good news (hopefully) is the UI itself is fairly straight forward and self-documenting, but there is really no separate documentation for list owners or site admins. There is a user's manual for list members at https://docs.mailman3.org/en/latest/userguide.html but nothing similar for list admins.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan

On 2/4/25 16:42, Mark Sapiro wrote:
You may find https://docs.djangoproject.com/en/5.1/ref/contrib/sites/to be helpful.
That should be "You may find
https://docs.djangoproject.com/en/5.1/ref/contrib/sites/ to be helpful."
I.e., to
is not part of the URL.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan

On 2025-02-04 23:59:04 -0000 (-0000), c.benner--- via Mailman-users wrote: [...]
The interface of the machine is bound to one IP Address public but for example here written as: 192.168.200.15
Id like to add a new Domain.
My first step would be to add another IP Address to the interface: (e.g.) 192.168.200.16
Then I'll change the virtual host settings in apache conf from first domain which is actually listeing to *:443 to 192.168.200.15:443
And add a second site with 192.168.200.16:443 [...]
Be aware that you can rely on SNI (TLS Server Name Identicator, RFC
3546) in Apache with SAN (X.509 SubjectAltName field as described in
RFC 3280) listing all the domains in your LetsEncrypt cert, and then
set SITE_ID = 0
in the settings.py file used by mailman-web to
instruct it to choose the correct site based on the domain name used
in the URL:
https://docs.mailman3.org/en/latest/faq.html#the-domain-name-displayed-in-hy...
You don't actually need a new IP address for each domain on the server. I manage a MM3 server that handles lots of different domains from a single IP address and it works just fine.
-- Jeremy Stanley

Hey Jeremy,
i have a lot of free IPs so thats not the problem here but I followed your hint and it looks like very nice now. Thank you very much!!!
Have some other problems but thats for a new thread. One is really weird ...
participants (3)
-
c.benner@apd-it.eu
-
Jeremy Stanley
-
Mark Sapiro