Host discovery

Experience level: Linux novice.
Setup: F37 server on old laptop, KDE Plasma Desktop
Problem: Cannot resolve hostname from Windows after logging off from Linux server/laptop.

I somehow managed to get Avahi working and enabled WS-Discovery so I can connect to it from my Windows computer via SSH terminal. The goal is to mainly use terminal but at times would like to use GUI via remote desktop or logging into the Linux server itself. But the problem occurs when I log off from Linux server.

Help would be greatly appreciated since I’ve spent good part of a full day trying to resolve this. Also, if there are any decent guides to setting up and maintaining the server, they would certainly be appreciated.