1

Topic: How to configure iRedMail administration console to work on subdomain

==== Required information ====
- iRedMail version (check /etc/iredmail-release): 0.9.5-1
- Linux/BSD distribution name and version: CentOS 7
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MariaDB
- Web server (Apache or Nginx): Apache
- Manage mail accounts with iRedAdmin-Pro? No
- Related log if you're reporting an issue:
====

As the title states, I would be interested in getting the administration console to run on a subdomain, lets call it iredmail.domain.com. How should such a vhost look like in apache?
I setup a vhost like the others i have but i get the centos empty page.

<VirtualHost *:443>
    ServerName iredmail.XX
    DocumentRoot /var/www/iredadmin
</VirtualHost>

----

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

2

Re: How to configure iRedMail administration console to work on subdomain

Try this:

<VirtualHost *:443>
    ServerName iredmail.XX
    DocumentRoot /var/www/iredadmin

    Alias /static "/var/www/iredadmin/static/"
    WSGIScriptAlias / "/var/www/iredadmin/iredadmin.py/"
</VirtualHost>

if it doesn't work, you may need to slightly tweak it.