Can no longer connect via http://homeassistant.local:8123/ - have to use IP address

Hey, I’m new here, and also very new to HA, so apologies if this is a stupid question.

Yesterday I set up HA without any issues, but this morning I’m unable to connect via http://homeassistant.local:8123/ - I can connect via the IP address, but I’m curious as to what I’m missing here?

2 Likes

I never could get it to work. Actually, I never bothered to figure out how it’s supposed to work in the first place.

But now I’m curious, so I’ll give this post a bump…

What’s your network domain name? In home assistant, what’s the hostname?

When you figure out those 2 item, connecting will be

http://hostname.domain:8123

Edit: and before you ask, your domain name is set up by your router. So only you and your router know that info

Edit 2: And lastly, if your domain name is still local, something is wrong with your dns server inside your router.

2 Likes

I believe .local is simply the default domain used by a router running the Multicast DNS protocol. I have also seen that some web browsers will do it automatically while others don’t.

As others have said it’s a dns issue on your system, not a HA issue as such. You can add homeassistant.local to the hosts file on the computer if it really bothers you.

If you are on a windows machine you can use the "nslookup " command to see what your local dns resolver resturns as the known fqdn.

I yesterday also got the same issue.
If you enter the url http://homeassistant.local:8123/
then make sure that under “settings” → “network” the hostname is the same.
image