Topic: Change domain.com/mail to mail.domain.com
==== Required information ====
- iRedMail version: 0.9.0
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MariaDB
- Linux/BSD distribution name and version: CentOS 7
- Related log if you're reporting an issue:
====
Hi,
I have searched for an answer to this question but I cannot find it.
I would like to change the location used to access the web mail. Currently it is www.domain.com/mail (default settings)
I would like to change this to either mail.domain.com or webmail.domain.com
I have my DNS set up correctly. When I put a new <VirtualHost> in my appache config it does not work correctly.
This is my current (not working) appache config
<VirtualHost *:80>
ServerName mail.domain.com
DocumentRoot /var/www/roundcubemail
</VirtualHost>
<VirtualHost *:443>
ServerName mail.domain.com
DocumentRoot /var/www/roundcubemail
</VirtualHost>
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.