Topic: Add domain/subdomain
==== Required information ====
- iRedMail version: 0.8.3
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MYSQL
- Linux/BSD distribution name and version: CentOS x64 6.4
- Related log if you're reporting an issue: subdomain problem
I added few subdomains but mail.domain.name does not work. I have added it to dns zone and added a virtualhost in httpd.conf but whenever i try to connect to mail.domain.name it redirects me to /var/www/html. Looking into the logs i cannot see anything related and I dont remember to had this problems with older versions.
I`ve also read http://www.iredmail.org/forum/topic3907 … hosts.html but still no fix because as soon as I modify the roundcubemail.conf the other subdomains fail to load or get redirected to wrong paths.
Added to /etc/httpd/conf/httpd.conf
#mail.domain.name
<VirtualHost *:80>
ServerAdmin root@localhost
DocumentRoot /var/www/roundcubemail
ServerName mail.domain.namme
ErrorLog /var/log/httpd/mail.domain.name-errorr.log
CustomLog /var/log/httpd/mail.domain.name-access.log common
</VirtualHost>
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.