Open guizmoau opened 4 years ago
Since mailinabox will self-update and overwrite your configs, so this is not recommended.
The generated/active nginx file is in /etc/nginx/conf.d/local.conf
, which periodically gets generated by templates mailinabox/conf/
folder. Those templates are at risk of being overwritten by an update.
Your safest bet would be to:
/home/user-data/www/mail_redirect
/home/user-data/www/mail_redirect/index.php
with contents:header("Location: https://primarydomain.com/mail");
die();
When someone visits mail.mydomain.com, they will be redirected to your primary domain webmail.
hi there,
I am trying to find a way to configure the address on roundcube webmail to be available as a subdomain like mail.mydomain.com in the case of a multiple domain configuration.
How can I do so ?