I’m just using a sudo hostnamectl set-hostname (domain name) to set a Fully Qualified Domain Name (FQDN) then adjusted the /etc/hosts file for my own needs in my Raspberry Pi.
But at the next reboot, the domain name changed from the default @raspberrypi to my set domain name, yet the Home Assistant page in my set IP address won’t load anymore, what are the solutions to get through that?
Why are you doing this? Your FQDN for home assistant box should be homeassistant.local wihtout needing to change anything assuming your domain name is local.