1

Topic: Not found error on /mail /iredadmin links

==== 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?
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====
Hello,
I have installed iRedAdmin in Centos iRed Version 0.9.7 MYSQL edition.
Apache server

After the installation done.I tried to open http or https hmm/domain.tld/mail or domain.tlf/iredadmin the both links shows 404 not found error but the /SOGo/ is working fine

How to fix the issue

----

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

2

Re: Not found error on /mail /iredadmin links

Try to run commands below on the server locally, do they return any error?

wget --no-check-certificate https://127.0.0.1/mail/
wget --no-check-certificate https://127.0.0.1/iredadmin/

3

Re: Not found error on /mail /iredadmin links

ZhangHuangbin wrote:

Try to run commands below on the server locally, do they return any error?

wget --no-check-certificate https://127.0.0.1/mail/
wget --no-check-certificate https://127.0.0.1/iredadmin/

[root@mailserver /]# wget --no-check-certificate https://127.0.0.1/mail/
--2018-03-01 03:50:22--  https://127.0.0.1/mail/
Connecting to 127.0.0.1:443... failed: Connection refused.
[root@mailserver /]# wget --no-check-certificate https://127.0.0.1/iredadmin/
--2018-03-01 03:50:31--  https://127.0.0.1/iredadmin/
Connecting to 127.0.0.1:443... failed: Connection refused.
[root@mailserver /]# wget --no-check-certificate http://127.0.0.1/iredadmin/
--2018-03-01 03:50:39--  http://127.0.0.1/iredadmin/
Connecting to 127.0.0.1:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2018-03-01 03:50:39 ERROR 404: Not Found.

[root@mailserver /]# wget --no-check-certificate http://127.0.0.1/iredadmin/
--2018-03-01 03:50:46--  http://127.0.0.1/iredadmin/
Connecting to 127.0.0.1:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2018-03-01 03:50:46 ERROR 404: Not Found.

[root@mailserver /]#

4

Re: Not found error on /mail /iredadmin links

seems https is failed, but http is ok.
When you restart Nginx service, any error message on terminal and Nginx log files?