I am setting as you guided me up, I am now using a vhost to be able to use the webmail.dominioxxx.com customers as vhost below:
</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>
How do I get it redirects to the https so I can use the SSL certificate?
In other vhosts I use like this:
Redirect Permanent / https://webmail.domainxxx.com/
But in this case I can not use because I am forwarding to all domains (*).
Thank you and sorry for my english.
</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>
How do I get it redirects to the https so I can use the SSL certificate?
In other vhosts I use like this:
Redirect Permanent / https://webmail.domainxxx.com/
But in this case I can not use because I am forwarding to all domains (*).
Thank you and sorry for my english.