Webmail subdomains mapping in VestCP

Date Posted: 01-08-2017

Like cPanel, we want to map the webmail to webmail.domain.tld for all the domains hosted on the server on vestacp.

Implementation:

Add the below lines to /home/admin/conf/web/httpd.conf

<VirtualHost xx.xx.xx.xx:80>
ServerName webmail
ServerAlias webmail.*
DocumentRoot /usr/share/roundcubemail
</VirtualHost>

Now restart httpd

service httpd restart

 

Leave a Reply