RE: webmail access using webmail.mydomain.com
07-17-2015, 06:26 AM
(This post was last modified: 07-17-2015, 11:57 PM by ic.rezende.
Edit Reason: Add comment in code
)
(07-17-2015, 03:49 AM)sknd Wrote: I need to access to webmail like this way.
webmail.mydomain.com
I have referred old post in this forum and configured vhost.conf. but always redirected to sentora login page not redirect to roundcude login.
Please help me to setup it
Many tnx
1 - Open Menu: Admin > Module Admin .
2 - In Administration Modules, open Apache Config .
3 - In Override a Virtual Host Setting, --Select a domain-- and click the button Select Vhost .
4 - In Virtual Host Override, edit the code like your config and paste in Custom Entry:
Code:
</VirtualHost>
# Configuration for WebMail
# This configuration enable webmail for all domains.
# If you want enable only a specific domain, change * to your domain name ind ServerAlias.
<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>
5 - Click Save Vhost .
Enjoy and be Happy !!!