I have a static, public IP from my ISP and I control DNS for my domain, both on my LAN and on the internet.
I’m using Nginx Proxy Manager to handle the proxy and the SSL from LetsEncrypt. I have ports 80 & 443 forwarded through my router to the HA private IP.
Remote access is working great. I can go to https://home.example.com and I get right into HA.
Now I want to use the same URL when I’m on the LAN. home.example.com resolves to the private IP of the HA host. But the browser just times out waiting for a response. I assumed that Nginx would pick up the connection on port 443 and forward it to port 8123 just like when I connect remotely.
I can ping home.example.com and see that I’m getting a reply from the correct internal IP. I can go to https://homeassistant.local:8123 and that works. It shows a certificate error, but that’s because the correct certificate for home.example.com is being served. So I would expect that I should be able to go to https://home.example.com:8123 and bypass Nginx Proxy Manager, but even that doesn’t work.
What am I missing here?