fabiob
1
Hi guys,
I’m trying to renew my SSL, but I have no ideia why port 80 is not working.
I saw that the system listens 8080 8083, etc.
I’m having no access to port 80 (dunno if I even set it up), also webmail is out.
8083 for config is working.
Neither apache or nginx are listening to port 80 and it’s causing ssl renewal problem (certbot).
The main domain name was moved to another system, and I left only one in a normal user for this box.
Any ideias how to fix ? this machine runs a mail server only.
Thanks
1 Like
Hi @fabiob
Please, show the output of these commands:
curl -fsSLm15 https://7j.gg/hcpver | sudo bash -s --
systemctl status nginx --no-pager -l
tail /etc/nginx/nginx.conf
1 Like
fabiob
3
Hi @sahsanu
here it is:
root@captain:/home/fabio# curl -fsSLm15 https://7j.gg/hcpver | sudo bash -s --
systemctl status nginx --no-pager -l
tail /etc/nginx/nginx.conf
Software Version
-------- -------
OS Ubuntu 22.04.5 LTS
Hestia 1.9.4
Hestia-nginx 1.27.4
Hestia-php 8.3.17
FileGator 7.13.0
Nginx 1.29.0
Apache2 2.4.64
PHP8.4 8.4.10
PHP8.3 8.3.23
Awstats 7.8
Exim4 4.95
Dovecot 2.3.16
Dovecot-sieve 2.3.16
Spamassassin 3.4.6
Clamav 1.4.3
Roundcube 1.6.11
Proftpd 1.3.7c
Bind9 9.18.30
Mariadb 11.4.7
phpMyAdmin 5.2.2
Fail2ban 0.11.2
● nginx.service - nginx - high performance web server
Loaded: loaded (/lib/systemd/system/nginx.service; enabled; vendor preset: enabled)
Active: active (running) since Wed 2025-07-23 14:49:22 -03; 1h 17min ago
Docs: https://nginx.org/en/docs/
Process: 236234 ExecStart=/usr/sbin/nginx -c ${CONFFILE} (code=exited, status=0/SUCCESS)
Process: 243748 ExecReload=/bin/sh -c /bin/kill -s HUP $(/bin/cat /run/nginx.pid) (code=exited, status=0/SUCCESS)
Main PID: 236236 (nginx)
Tasks: 2 (limit: 4647)
Memory: 2.7M
CPU: 69ms
CGroup: /system.slice/nginx.service
├─236236 "nginx: master process /usr/sbin/nginx -c /etc/nginx/nginx.conf"
└─243753 "nginx: worker process" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" ""
Jul 23 14:49:22 captain systemd[1]: Starting nginx - high performance web server...
Jul 23 14:49:22 captain systemd[1]: nginx.service: Can't open PID file /run/nginx.pid (yet?) after start: Operation not permitted
Jul 23 14:49:22 captain systemd[1]: Started nginx - high performance web server.
Jul 23 15:10:21 captain systemd[1]: Reloading nginx - high performance web server...
Jul 23 15:10:21 captain systemd[1]: Reloaded nginx - high performance web server.
Jul 23 15:25:44 captain systemd[1]: Reloading nginx - high performance web server...
Jul 23 15:25:44 captain systemd[1]: Reloaded nginx - high performance web server.
Jul 23 15:34:26 captain systemd[1]: Reloading nginx - high performance web server...
Jul 23 15:34:26 captain systemd[1]: Reloaded nginx - high performance web server.
sendfile on;
#tcp_nopush on;
keepalive_timeout 65;
#gzip on;
include /etc/nginx/conf.d/*.conf;
}
root@captain:/home/fabio#
1 Like
Execute these commands:
cd /etc/nginx/
cp nginx.conf nginx.conf.bad
cp /usr/local/hestia/install/deb/nginx/nginx.conf .
systemctl restart nginx
3 Likes
fabiob
5
Great!
It fixed the SSL issue and the port 80, but the webmail still not pointing to roundcube.
That’s the only problem now 
2 Likes
What’s the error you get?
1 Like
fabiob
7
None, it just shows the Yellow cap of https. “We are working on it” like the “main site”
It’s supposed to open roundcube. It’s set to roundcube under hestia config page.
1 Like
fabiob
8
nevermind, it was a DNS redirection error.
Just redirected webmail to mail.xxx and it worked.
Appreciated!
3 Likes