1

Topic: Roundcube on mail. subdomain

==== Required information ====
- iRedMail version (check /etc/iredmail-release):
- Linux/BSD distribution name and version:
- Store mail accounts in which backend (LDAP/MySQL/PGSQL):
- Web server (Apache or Nginx):
- Manage mail accounts with iRedAdmin-Pro?
- Related log if you're reporting an issue:
======== Required information ====
- iRedMail version (check /etc/iredmail-release): 0.9.2
- Linux/BSD distribution name and version: Debian 8.2 x64
- 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: not an issue
====

Assuming my domain is mydomain.com. When I visit mydomain.com , www.mydomain.com or mail.mydomain.com I'll get redirected to www.mydomain.com/mail. I'd like to access Roundcube on mail.mydomain.com (without getting redirected to /mail) , is it possible?

Thanks in advance for your support and kudos for your awesome product smile

----

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

2

Re: Roundcube on mail. subdomain

*) You have to add virtual host 'mail.mydomain.com' and use Roundcube as DocumentRoot directory.
*) To not redirect to www.mydomain.com/mail, please remove file /var/www/index.html (or /var/www/html/index.html).

3 (edited by attoy 2015-11-19 17:14:10)

Re: Roundcube on mail. subdomain

ZhangHuangbin wrote:

*) To not redirect to www.mydomain.com/mail, please remove file /var/www/index.html (or /var/www/html/index.html).

Awesome, thanks.

Is it possible to have a subdomain for the admin part too?

4

Re: Roundcube on mail. subdomain

attoy wrote:

Is it possible to have a subdomain for the admin part too?

Sure. Add a virtual host please.

5

Re: Roundcube on mail. subdomain

Done, thanks for your help ZhangHuangbin smile