(09-01-2017, 05:11 AM)TGates Wrote: If you follow the tutorial it will work. You must also add a DNS entry for webmail so your server knows where to redirect it
Finally, after a lot of failed attempts this is what worked for me :
</VirtualHost>
# Configuration for WebMail
<VirtualHost *:80>
ServerAlias webmail.*
DocumentRoot "/etc/sentora/panel/etc/apps/webmail/"
AddType application/x-httpd-php .php
<Directory "/etc/sentora/panel/etc/apps/webmail/">
Options +FollowSymLinks -Indexes
AllowOverride All
Require all granted
</Directory>
All the domains was working with https (letsencrypt) and for now after adding this code in the virtual host override i´m able to access via webmail.anydomain.com
Now just have to figure out how to do the same but with TLS using the existing letsencrypt certificates.
Also related to this, i would appreciate some step by step help in order to create a cron job for auto renewal of all the letsencrypt certificates.
Thanks !!