Time out error from my local network

I installed nextcloud long time ago in a home server. It worked fine until now. When I try to access from my home network with the domain I set up is giving a time out error (ERR_TIMED_OUT). But if I use any external network it works fine. If i use my server local IP is working fine too. How can I fix this issue?

I checked up the oc_bruteforce_attempts table in mysql inside my home server and there is no ip showing up there.

If I use the traceroute command to the domain the packets are arriving with any problems.

Any ideas?