Add webmail alias in VestaCP panel – ubuntu 16.04
Add webmail alias in VestaCP panel – ubuntu 16.04
Date Posted: 05-10-2017
Assumptions:-
We assume you have the following server setup
- VestaCP
- Ubuntu 16.04
- Apache2
Solution:-
Add this line at the bottom of /home/admin/conf/web/apache2.conf file
<VirtualHost xx.xx.xx.xx:8080>
ServerName webmail
ServerAlias webmail.*
DocumentRoot /usr/share/roundcube
<Directory /usr/share/roundcube>
AllowOverride All
</Directory>
</VirtualHost>
Verify apache syntax
apachectl -t
Restart apache service
service apache2 restart
Now you can access http://webmail.domainname.tld
