Topic: Can Only Access /iredadmin from 127.0.0.1
==== Required information ====
- iRedMail version (check /etc/iredmail-release): 0.9.6
- Linux/BSD distribution name and version: Ubuntu 16.04 Desktop
- 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:
====
Hi All,
Limited background on this issue would be that I was having a great deal of difficulty with acquiring and installing a free Lets Encrypt SSL certificate, so once again, I rebuilt the VMWare Workstation 12 Ubuntu 16.04 Desktop guest and proceeded with a fresh, clean install of iRedMail 0.9.6.
I already had my ISP (Optimum business) create a PTR (reverse DNS) record, pointing the public IP to the private IP assigned to my iRedMail server - 192.168.1.117. I then migrated DNS delegation from Godaddy to Dyn Managed DNS and working with the Dyn support staff, recreated all DNS records for my domain - freeholdcomputertech.com. I then installed iRedMail 0.9.6 on the Ubuntu 16.04 VM machine, and then proceeded to Certbot and began the cert acquisition and install process. At this point I discovered that I had to also forward port 80 on my router to the Ubuntu/iRedmail VMW guest. Once I did that, I was able to acquire and install the Lets Encrypt cert successfully.
However....at this point, I am still having some problems:
1) On the iRedmail server, I could only access /iredadmin from https://127.0.0.1/admin -- and doing so resulted in in a security warning about a self-signed certificate.
2) At the point above, I was not able to, from outside my site network, either access https:// mail.freeholdcomputertech.com/mail nor https:// mail.freeholdcomputertech.com/iredadmin
3) On the iRedMail server, I edited /etc/hosts to read as follows:
127.0.0.1 localhost
192.168.1.117 mail.freeholdcomputertech.com mail
At this point, I could:
* On the iRedMail server, successfully browse to https://mail.freeholdcomputertech.com/mail -- and received NO security warnings about invalid certificate, etc
* I could also access -- from outside my site network -- https://mail.freeholdcomputertech.com/mail and send and receive email.
At this point I can NOT:
* On the iRedMail server, I can not browse to https://mail.freeholdcomputertech.com/iredadmin nor https://192.168.1.117/iredadmin/ - 404 Not Found on this server.
That's about the gist of it. Perhaps I omitted certain important details. ANY help would be greatly appreciated.
--Jim
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.