I've decided to try roundcube instead of squirrelmail. Installed Roundcube in subfolder /webmail under domain1.com (/var/www/clients/client0/web1/web/webmail/) webmail is currently accessible via http://domain1.com/webmail/
I can login with any email account and it works fine. I'm trying to find out how can I make it available under other domains.
1) Right now I can only access webmail via http://domain1.com/webmail/
I'd like to make it accessible via http://webmail.domain1.com
2) I cannot access webmail under other domains
I'm not sure how to make this work. I know it's possible. Do I need to add code to NGINX Directives under each site? Anyone have similar setup, please advise?