# Nginx only setup but no respond from web site

**URL:** <https://forum.hestiacp.com/t/nginx-only-setup-but-no-respond-from-web-site/15561>\
**Category:** Uncategorized\
**Created:** [August 19, 2024, 7:31pm UTC](https://forum.hestiacp.com/t/nginx-only-setup-but-no-respond-from-web-site/15561 "2024-08-19T19:31:45Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![ozgurerdogan](https://forum.hestiacp.com/letter_avatar_proxy/v4/letter/o/97f17d/32.png) [@ozgurerdogan](https://forum.hestiacp.com/u/ozgurerdogan)\
**Post date:** [August 19, 2024, 7:31pm UTC](https://forum.hestiacp.com/t/nginx-only-setup-but-no-respond-from-web-site/15561/1 "2024-08-19T19:31:46Z")

</div>

I installed Hestia with nginx only setup. But a test web site does not respond (ERR\_TIMED\_OUT). Nginx service is running and no error in logs. What else I should check? Any extra step after install for nginx only setup?

---

<div class="post-metadata">

**Author:** ![sahsanu](https://forum.hestiacp.com/user_avatar/forum.hestiacp.com/sahsanu/32/9318_2.png) [@sahsanu](https://forum.hestiacp.com/u/sahsanu)\
**Post date:** [August 19, 2024, 7:39pm UTC](https://forum.hestiacp.com/t/nginx-only-setup-but-no-respond-from-web-site/15561/2 "2024-08-19T19:39:35Z")

</div>

You should check:

**1.-** That the domain you are using points to your server’s public ip.

**2.-** Check that you have a rule in your firewall allowing connections to ports 80 and 443.

```t
v-list-firewall

```

**3.-** Check that you are not banned from your own server:

```t
v-list-firewall-ban

```

---

<div class="post-metadata">

**Author:** ![ozgurerdogan](https://forum.hestiacp.com/letter_avatar_proxy/v4/letter/o/97f17d/32.png) [@ozgurerdogan](https://forum.hestiacp.com/u/ozgurerdogan)\
**Post date:** [August 19, 2024, 7:42pm UTC](https://forum.hestiacp.com/t/nginx-only-setup-but-no-respond-from-web-site/15561/3 "2024-08-19T19:42:55Z")

</div>

Firewall or ban system is not enabled… And pinging domain responds to server ip. I install Debian 12. Should I go back Debian 11?

---

<div class="post-metadata">

**Author:** ![sahsanu](https://forum.hestiacp.com/user_avatar/forum.hestiacp.com/sahsanu/32/9318_2.png) [@sahsanu](https://forum.hestiacp.com/u/sahsanu)\
**Post date:** [August 19, 2024, 7:46pm UTC](https://forum.hestiacp.com/t/nginx-only-setup-but-no-respond-from-web-site/15561/4 "2024-08-19T19:46:54Z")

</div>

> [@ozgurerdogan](#):
>
> Firewall or ban system is not enabled

Are you sure?

```t
iptables -S
nft list table filter

```

If you share the domain we can test it from our side.

---

<div class="post-metadata">

**Author:** ![ozgurerdogan](https://forum.hestiacp.com/letter_avatar_proxy/v4/letter/o/97f17d/32.png) [@ozgurerdogan](https://forum.hestiacp.com/u/ozgurerdogan)\
**Post date:** [August 19, 2024, 7:53pm UTC](https://forum.hestiacp.com/t/nginx-only-setup-but-no-respond-from-web-site/15561/5 "2024-08-19T19:53:09Z")

</div>

Yes it did not even installed them.

```auto
v-update-firewall
Error: FIREWALL_SYSTEM is not enabled
service fail2ban stop
Failed to stop fail2ban.service: Unit fail2ban.service not loaded.

```

Domain is [ns2ip.com](http://ns2ip.com)

---

<div class="post-metadata">

**Author:** ![sahsanu](https://forum.hestiacp.com/user_avatar/forum.hestiacp.com/sahsanu/32/9318_2.png) [@sahsanu](https://forum.hestiacp.com/u/sahsanu)\
**Post date:** [August 19, 2024, 7:59pm UTC](https://forum.hestiacp.com/t/nginx-only-setup-but-no-respond-from-web-site/15561/6 "2024-08-19T19:59:16Z")

</div>

You don’t have a service listening on port 80, only on port 443.

```t
lsof -Pn +c0 -i:80,443 -sTCP:LISTEN

```

Check nginx conf:

```t
nginx -t

```

And check the nginx conf for your site:

```t
cat /home/*/conf/web/ns2ip.com/nginx.conf
cat /home/*/conf/web/ns2ip.com/nginx.ssl.conf

```

---

<div class="post-metadata">

**Author:** ![ozgurerdogan](https://forum.hestiacp.com/letter_avatar_proxy/v4/letter/o/97f17d/32.png) [@ozgurerdogan](https://forum.hestiacp.com/u/ozgurerdogan)\
**Post date:** [August 19, 2024, 8:02pm UTC](https://forum.hestiacp.com/t/nginx-only-setup-but-no-respond-from-web-site/15561/7 "2024-08-19T20:02:53Z")

</div>

```auto
lsof -Pn +c0 -i:80,443 -sTCP:LISTEN
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
nginx 17113 root 12u IPv4 71027 0t0 TCP 95.216.246.48:80 (LISTEN)
nginx 17113 root 13u IPv4 71028 0t0 TCP 95.216.246.48:443 (LISTEN)
nginx 17114 www-data 12u IPv4 71027 0t0 TCP 95.216.246.48:80 (LISTEN)
nginx 17114 www-data 13u IPv4 71028 0t0 TCP 95.216.246.48:443 (LISTEN)
nginx 17115 www-data 12u IPv4 71027 0t0 TCP 95.216.246.48:80 (LISTEN)
nginx 17115 www-data 13u IPv4 71028 0t0 TCP 95.216.246.48:443 (LISTEN)
nginx 17116 www-data 12u IPv4 71027 0t0 TCP 95.216.246.48:80 (LISTEN)
nginx 17116 www-data 13u IPv4 71028 0t0 TCP 95.216.246.48:443 (LISTEN)
nginx 17117 www-data 12u IPv4 71027 0t0 TCP 95.216.246.48:80 (LISTEN)
nginx 17117 www-data 13u IPv4 71028 0t0 TCP 95.216.246.48:443 (LISTEN)
nginx 17118 www-data 12u IPv4 71027 0t0 TCP 95.216.246.48:80 (LISTEN)
nginx 17118 www-data 13u IPv4 71028 0t0 TCP 95.216.246.48:443 (LISTEN)
nginx 17119 www-data 12u IPv4 71027 0t0 TCP 95.216.246.48:80 (LISTEN)
nginx 17119 www-data 13u IPv4 71028 0t0 TCP 95.216.246.48:443 (LISTEN)
nginx 17120 www-data 12u IPv4 71027 0t0 TCP 95.216.246.48:80 (LISTEN)
nginx 17120 www-data 13u IPv4 71028 0t0 TCP 95.216.246.48:443 (LISTEN)
nginx 17121 www-data 12u IPv4 71027 0t0 TCP 95.216.246.48:80 (LISTEN)
nginx 17121 www-data 13u IPv4 71028 0t0 TCP 95.216.246.48:443 (LISTEN)
nginx 17122 www-data 12u IPv4 71027 0t0 TCP 95.216.246.48:80 (LISTEN)
nginx 17122 www-data 13u IPv4 71028 0t0 TCP 95.216.246.48:443 (LISTEN)
nginx 17124 www-data 12u IPv4 71027 0t0 TCP 95.216.246.48:80 (LISTEN)
nginx 17124 www-data 13u IPv4 71028 0t0 TCP 95.216.246.48:443 (LISTEN)
nginx 17125 www-data 12u IPv4 71027 0t0 TCP 95.216.246.48:80 (LISTEN)
nginx 17125 www-data 13u IPv4 71028 0t0 TCP 95.216.246.48:443 (LISTEN)
nginx 17126 www-data 12u IPv4 71027 0t0 TCP 95.216.246.48:80 (LISTEN)
nginx 17126 www-data 13u IPv4 71028 0t0 TCP 95.216.246.48:443 (LISTEN)
nginx 17127 www-data 12u IPv4 71027 0t0 TCP 95.216.246.48:80 (LISTEN)
nginx 17127 www-data 13u IPv4 71028 0t0 TCP 95.216.246.48:443 (LISTEN)
nginx 17128 www-data 12u IPv4 71027 0t0 TCP 95.216.246.48:80 (LISTEN)
nginx 17128 www-data 13u IPv4 71028 0t0 TCP 95.216.246.48:443 (LISTEN)
nginx 17129 www-data 12u IPv4 71027 0t0 TCP 95.216.246.48:80 (LISTEN)
nginx 17129 www-data 13u IPv4 71028 0t0 TCP 95.216.246.48:443 (LISTEN)
nginx 17130 www-data 12u IPv4 71027 0t0 TCP 95.216.246.48:80 (LISTEN)
nginx 17130 www-data 13u IPv4 71028 0t0 TCP 95.216.246.48:443 (LISTEN)

```

nginx.conf files also has:

```auto
server {
        listen 95.216.246.48:80;

```

---

<div class="post-metadata">

**Author:** ![sahsanu](https://forum.hestiacp.com/user_avatar/forum.hestiacp.com/sahsanu/32/9318_2.png) [@sahsanu](https://forum.hestiacp.com/u/sahsanu)\
**Post date:** [August 19, 2024, 8:05pm UTC](https://forum.hestiacp.com/t/nginx-only-setup-but-no-respond-from-web-site/15561/8 "2024-08-19T20:05:57Z")

</div>

Then something is blocking port 80, check if you have activated Hetzner firewall.

---

<div class="post-metadata">

**Author:** ![ozgurerdogan](https://forum.hestiacp.com/letter_avatar_proxy/v4/letter/o/97f17d/32.png) [@ozgurerdogan](https://forum.hestiacp.com/u/ozgurerdogan)\
**Post date:** [August 19, 2024, 8:14pm UTC](https://forum.hestiacp.com/t/nginx-only-setup-but-no-respond-from-web-site/15561/9 "2024-08-19T20:14:13Z")

</div>

I confirmed that they are not blocking it. So this could be something with Debian. Should I reinstall 11/12 ?

---

<div class="post-metadata">

**Author:** ![ozgurerdogan](https://forum.hestiacp.com/letter_avatar_proxy/v4/letter/o/97f17d/32.png) [@ozgurerdogan](https://forum.hestiacp.com/u/ozgurerdogan)\
**Post date:** [August 19, 2024, 8:15pm UTC](https://forum.hestiacp.com/t/nginx-only-setup-but-no-respond-from-web-site/15561/10 "2024-08-19T20:15:34Z")

</div>

I can provide you root access if you want to take a look?

---

<div class="post-metadata">

**Author:** ![sahsanu](https://forum.hestiacp.com/user_avatar/forum.hestiacp.com/sahsanu/32/9318_2.png) [@sahsanu](https://forum.hestiacp.com/u/sahsanu)\
**Post date:** [August 19, 2024, 8:16pm UTC](https://forum.hestiacp.com/t/nginx-only-setup-but-no-respond-from-web-site/15561/11 "2024-08-19T20:16:16Z")

</div>

I would try to figure out what’s going on before reinstalling but if you want to reinstall use Debian 12 again.

I’ll contact you via private message.

---

<div class="post-metadata">

**Author:** ![ozgurerdogan](https://forum.hestiacp.com/letter_avatar_proxy/v4/letter/o/97f17d/32.png) [@ozgurerdogan](https://forum.hestiacp.com/u/ozgurerdogan)\
**Post date:** [August 20, 2024, 7:49am UTC](https://forum.hestiacp.com/t/nginx-only-setup-but-no-respond-from-web-site/15561/12 "2024-08-20T07:49:25Z")

</div>

My bad… It was a Nat port forwarding issue for an other vm at proxmox that was blocking port 80.  
Thanks again.

---

<div class="post-metadata">

**Author:** ![system](https://forum.hestiacp.com/uploads/default/original/1X/d9a5b68bf50ced83e880b56452e592b204761b19.png) [@system](https://forum.hestiacp.com/u/system)\
**Post date:** [September 19, 2024, 7:50am UTC](https://forum.hestiacp.com/t/nginx-only-setup-but-no-respond-from-web-site/15561/13 "2024-09-19T07:50:05Z")

</div>

Closed on September 19, 2024, 7:50am UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
