1

Topic: Change access urls to mail.mydomain.com, iredadmin.mydomain.com

==== Required information ====
- iRedMail version: 0.8.6
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): LDAP
- Linux/BSD distribution name and version: Ubuntu 13.10
- Related log if you're reporting an issue:
====

I did a default installation following the guide:
http://www.iredmail.org/install_iredmail_on_ubuntu.html

I want to keep my mails like:
postmaster@mydomain.com
user@mydomain.com

but I want to reconfigure the access urls to:
Webmail:       https://mail.mydomain.com/
iRedAdmin (admin panel)    httpS:/iredadmin.mydomain.com/
phpMyAdmin    httpS://phpmyadmin.mydomain.com/
phpLDAPadmin    httpS://phpldapadmin.mydomain.com/

I've been following the conf files but I'm very confused by so many conf files:
/etc/apache2/apache2.conf
/etc/apache2/ports.conf
/etc/apache2/000-default.conf
/etc/apache2/default-ssl.conf
/etc/apache2/conf-available/roundcubemail.conf
/etc/apache2/conf-available/iredadmin.conf

I see the alias /mail declared in:
/etc/apache2/default-ssl.conf

Kindly, advise how to change the default access urls
from https://www.mydomain.com/mail/
to https://mail.mydomain.com/

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: Change access urls to mail.mydomain.com, iredadmin.mydomain.com

*) You need to update config file /etc/apache2/default-ssl.conf.
*) You need a new virtual host for 'mail.mydomain.com'.
*) You need to point A record of domain 'mail.mydomain.com' to this server.

Refer to Apache official document for more details: http://httpd.apache.org/docs/2.4/vhosts/