Comment on Need help getting domain to resolve over LAN
marsara9@lemmy.world 5 days ago
If it was a certificate issue I’d expect youd just get an error from your browser saying the cert is invalid or expired.
If I had to guess though you’re running into a nat reflection issue: nordvpn.com/cybersecurity/glossary/nat-loopback/
Read up on that. But you may need to provide different DNS entries if you’re inside or outside your LAN or add a NAT hairpin rule to your router. But this is only applicable if you’re exposing the same service to the WWW.
Some other things to try though:
- Have you tried just pinging the address? Is the DNS resolution returning the address you expect?
- Whats in your nginx logs? Do you see anything when you try and connect?
- Within your nginx container can you ping your service directly? Is something blocking nginx from accessing the site?
iAmTheTot@sh.itjust.works 5 days ago
It does not look like NAT loopback will be an option for me due to router/ISP.
Thanks for the ping suggestion. Copied from another comment of mine:
When I try to connect to
docmost.example.com
, I do not see anything come up on myproxy-host-##_access.log
,proxy-host-##_error.log
, orerror.log
. Just nothing at all. When I access from outside the network, entries in the log show up as expected from the IP I access it from (in this case, my phone off WIFI).I pinged
192.168.1.85
from within my nginx container and looks like it communicated just fine. puu.sh/Ks29s/367c0b6144.png