Internal URL Configuration

Hey guys, I currently use duckdns for my HA URL, but would like to setup my system to also work locally when the internet goes down. I tried setting my internal to the local IP of my HA and also tried using homeassistant.local:8123 but neither seem to work. Suggestions?

If you use duckdns with SSL you won’t be able to use the internal url without getting a certificate mismatch which the companion app doesn’t like. One way you can get HA to work even if the internet goes down is if you run a DNS based ad blocker like PiHole or AdGuard you can set a DNS redirect/resolve rule to redirect anything accessing your duckdns url to the internal address of your server. NGINX is another option but configured differently and I don’t have experience with that.

I tried the DNS redirect this weekend and it worked albeit a little slow but I turned my modem off and still had access to HA.

I realize that it’s been a long while, but the dnsmask addon should solve this problem.