DNS /Rewrite? - Customizing the webmail urls for multiple domains on a single box?

You can actually create a custom.yaml file in /home/user-data/www/

mydomain:
  redirects:
    ^/$: $scheme://mydomain/mail

Then you need to go into mailinabox/management and do sudo ./mailinabox/tools/web_update to refresh the dns

This solution does not get overwritten during upgrades.

1 Like