1

Topic: Port change for iRedAdmin - where?

==== Required information ====
- iRedMail version (check /etc/iredmail-release): 0.9.7 MARIADB edition
- Linux/BSD distribution name and version:  Ubuntu Server 16.0.4 LTS
- Store mail accounts in which backend (LDAP/MySQL/PGSQL):  mariadb
- Web server (Apache or Nginx): Nginx
- Manage mail accounts with iRedAdmin-Pro? no (not yet)
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====

Hi there,

Bloody beginner question: Where do I change the port number for https://mydomain.com/redmail - it's running with Nginx, the conf files are (nearly) empty. Worked with Apache so far...

Thanks!

Peter

----

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

2

Re: Port change for iRedAdmin - where?

Port number? It's defined in "listen" directive. You can do a quick filter with commands like below:

cd /etc/nginx/
grep -r 'listen ' *

3

Re: Port change for iRedAdmin - where?

Hi,
Thank you for your answer, but it did not work. Here's what I did

cd /etc/nginx/
grep -r 'listen ' *

got:

sites-conf.d/default-ssl/0-listen.conf:listen 443;

changed:

listen 443;
to

#listen 443;
listen 10443;

saved it + checked tha it is really written...

then

sudo nginx -s reload

https://192.168.178.23/iredadmin/login? … inRequired    didn't work any more

but

https://192.168.178.23:10443/iredadmin/ … inRequired  didn't work either.

The firewall has been changed before to allow 10443.

What else can I do?

Greetings,
Peter

4

Re: Port change for iRedAdmin - where?

Did you get any error in Nginx log file? and on web browser?