Are you using Windows or Mac or Linux on your remote PC, the one you are using to connect to OctoPi?
If you are using Windows you have to install Apple Bonjour Services for Windows in order for Windows to connect via a name rather than the IP, OR you need to setup an entry in your Windows hosts file as I described in my above post. The problem with the hosts file is if your printer's IP changes because of DHCP (you would have to set up a static entry in your router) your hosts file entry is invalid until you make the change in the file to reflect the new IP.
The host file entry should look like this
# localhost name resolution is handled within DNS itself.
# 127.0.0.1 localhost
# ::1 localhost
192.168.X.X octoprinter
SUBSTITUTE 192.168.1.X.X with the IP of YOUR Printer!!!
IF you are using a MAC, then you shouldn't have an issue, Bonjour is already a part of the MAC-OS.
As far as Linux, I believe you would have to set up an entry in it's hosts file (/etc/hosts, you would need sudo or root privileges to do so). Again the same issue as Windows if the IP changes.
It sounds like you networking is working as it should. You just need the IP to Name translation to be setup as I described. This IS NOT an issue with OctoPrint, but an issue WITH the OS you are using to connect to OctoPrint.