1

Topic: problem in redirection of second domain

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release):
- Deployed with iRedMail Easy or the downloadable installer?
- 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?
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====

I have two webmail in two root level domain name. The issue is  automatically redirection of second domain to seconddomain.com/mail. where is configured to be redirected to /mail?

----

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

2

Re: problem in redirection of second domain

I'm going to assume you are running a more current version using the Nginx web server.  The configuration files are in the /etc/nginx folder.  You'll find the file you're looking for in the /etc/nginx/templates folder, specifically roundcube.tmpl

3

Re: problem in redirection of second domain

- Create a site config file your second domain under /etc/nginx/sites-available/, then link it to /etc/nginx/sites-enabled/.
- Configure correct root directory for your second domain.