1

Topic: add new domain in existing with different login page

==== 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:
====

good day,

i am planning to create new domain in existing domain in iredmail but different login page of each domain is it possible?

existing domain : @sample.com
new domain to add : @testing.com

my url in existing is https://mail.sample.com/SOGo i want to add another domain url  should be https://mail.testing.com/SOGo..

now i create new domain and users on it.. but the url need to go https://mail.sample.com/SOGo not in https://mail.testing.com.. can somebody help me  please..

----

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

2

Re: add new domain in existing with different login page

You should create virtual host "mail.testing.com" with Apache/Nginx, and configure this virtual host to use SOGo application.

3

Re: add new domain in existing with different login page

Thanks ZhangHuangbin for the reply.. i cant find /etc/httpd/sites-available in httpd folder.. im new to this.. can you please give me instruction on how i create virtual host, in my case i cant find /etc/httpd/sites-available in httpd folder only conf and conf.d.. very much appreciated your help..




ZhangHuangbin wrote:

You should create virtual host "mail.testing.com" with Apache/Nginx, and configure this virtual host to use SOGo application.

4

Re: add new domain in existing with different login page

On Debian/Ubuntu, it's /etc/apache2/, not /etc/httpd/.

Please always show us basic info of your iRedMail server, so that we can give you more accurate answer.

==== 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:
====

5

Re: add new domain in existing with different login page

iRedMail version (check /etc/iredmail-release):                        0.9.2
- Linux/BSD distribution name and version:                                CentOS 6.5
- Store mail accounts in which backend (LDAP/MySQL/PGSQL):  Mysql
- Web server (Apache or Nginx):                                                 Apache
- Manage mail accounts with iRedAdmin-Pro?                              no
- Related log if you're reporting an issue:


heres the info of my iredmail server.. also cant find apache2 or any file that has apache2 name.. i used find command in terminal.






ZhangHuangbin wrote:

On Debian/Ubuntu, it's /etc/apache2/, not /etc/httpd/.

Please always show us basic info of your iRedMail server, so that we can give you more accurate answer.

==== 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:
====

6

Re: add new domain in existing with different login page

On CentOS, there's no '/etc/httpd/sites-available/' at all. Please just update /etc/httpd/conf/httpd.conf and /etc/httpd/conf.d/*.conf.

Reference:
http://www.iredmail.org/docs/file.locations.html#apache