I'm using cPanel and Mailman (mailing lists) on a shared server with a webhost.
After changing the 'A' record for one of my add-on domains (let's say
abc.org), so that its website traffic goes to another sort-of webhost (
123.com) but email stays where it is (a few other changes were done to keep mail were it was), I now find that my Perl scripts which try to access the Mailman mailing lists for that domain, don't work.
Note: I prefer to sometimes use Perl scripts to work with the mailing lists, instead of doing it from cPanel because:
- It allows people to make mailing list updates via my Perl web application.
- It allows me to make bulk queries and updates.
The 1st reason the scripts are failing is because the URL they usually use to access all my mailing lists for several domains from Perl is:
So, because the
abc.org's 'A' record now points to
123.com, the above URL tries to find
123.com, but fails with a "404 - Not Found" error, of course, because the mailing lists are not there.
My webhost has suggested I create a subdomain (e.g.
mailman.abc.org), and then recreate all the mailing lists for
abc.org in that, but I want to avoid that if possible because of the hassle and side-effects.
Q1. Any suggestions on what URL I can now use to access the mailman/listinfo page of my
abc.org mailing lists?
Q2. Or, can you suggest a way to prevent my requests for
abc.org/mailman/listinfo from being redirected to
123.com with the rest of the traffic for