I have never managed to self-host a Matrix server for my home because they all demand a domain name like matrix.something.com. I can't use a local address like 192.168.1.100.
I have a local only synapse instance with some bridges. You can use a local domain (server hostname.localdomain) and it works. Caveat is that using element with your browser does not work. Element desktop app and phone app works fine though.