This question already has an answer here:
- Connect to Linux by name rather than IP 6 answers
I want to access PC in LAN from other devices. I cannot use static ip for my PC. Is there a way to use hostname instead of dynamic ip to access PC so that even if ip changes i can access PC with its hostname? I am usin Linux.