Hi,
I have configured my HA to be available from WAN with my domain name (OVH) and https connection (Let’s Encrypt Module).
ON MY OVH DNS ZONE
I have :
- type A entry from mydomain.com to my external IP address
- type CNAME entry from mydomain.com to www.mydomain.com
ON MY ROUTER
I have configured port forwarding :
- external 80 to HA Server 80
- external 443 to HA Server 8123
ON HA LET’S ENCRYPT MODULE CONFIGURATION :
domains:
- mydomain.com
- www.mydomain.com
email: [email protected]
keyfile: privkey.pem
certfile: fullchain.pem
challenge: http
dns: {}
With that, I can access HA Server :
- from WAN and LAN with https://mydomain.com
- from WAN and LAN with https://www.mydomain.com
- from LAN with https://homeassistant:8123 (but https is barred cross and it says “not secured”)
But I can’t access HA Server :
- from WAN with mydomain.com ou www.mydomain.com (http)
- from LAN with homeassistant:8123 (http)
In other words, I have to write https:// before the address to be able to connect to my HA Server ; but I would like to just write www.mydomain.com and it be able to access too.
What’s wrong in my configuration ?