remove website example.com via django interface

remove website 'example.com' via django interface or "how to rush jourself off your feet"
**Disclaimer: don't try this at home**
in believe to replace the display of 'example.com' in the postorius-webinterface i logged into django-interface, under 'website' (very bottom of the left menu) i added my new website and then deleted 'example.com'.
Result: i can't access my webinterfaces any more, neither django nor postorius.
Questions:
Does somebody know about the correct approach to change the displayed url in the postorius-webinterface?
does somebody perhaps know how to revert those removal via CLI or other ways?
greetings aiz

On Wed, Mar 26, 2025 at 6:09 PM Alexander Inzinger-Zrock via Mailman-users < mailman-users@mailman3.org> wrote:
The displayed URL should be the one you configured in Nginx or Apache. example.com is usually SITE_ID=1. It's possible to rename it in Django admin UI to whatever you want - like mywebsite.name
SQL: select * from django_site;
Whatever ID shows for the one you created, stick that ID to settings.py and restart mailmanweb.
-- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254 7 3200 0004/+254 7 2274 3223 In an Internet failure case, the #1 suspect is a constant: DNS. "Oh, the cruft.", egrep -v '^$|^.*#' ¯\_(ツ)_/¯ :-) [How to ask smart questions: http://www.catb.org/~esr/faqs/smart-questions.html]

Am 26.03.25 um 16:23 schrieb Odhiambo Washington:
works again. Thank you so much.
for anyone stumbling accross,
- setting in settings.py is:
#: Current Django Site being served. This is used to customize the web host #: being used to serve the current website. For more details about Django #: site, see: https://docs.djangoproject.com/en/dev/ref/contrib/sites/ SITE_ID =
- and correct database would be 'mailmanweb' (according to manual).
greetings, aiz
participants (2)
-
Alexander Inzinger-Zrock
-
Odhiambo Washington