What is the problem?
I can acces to my octoprint instance with the IP adress of my raspberry with 192.168.xx.xx:5000. Bit my IP isn't fixed so I would like to acces to octoprint with the hostname. For now I didn't change the hostname, it's still raspberrypi. When I try to connect with raspberrypi.local:5000, it won't work.
What did you already try to solve it?
I tried to setup avahi with this tuto [Setting up OctoPrint on a Raspberry Pi running Raspbian] at the section" Optional: Reach your printer by typing its name in address bar of your browser - Avahi/zeroconf/bonjour-based" but didn't worked.
I also tried [http://elinux.org/RPi_Advanced_Setup#Setting_up_for_remote_access_.2F_headless_operation] section "The flexible way: set up avahi / zeroconf"(
Additional information about your setup (OctoPrint version, OctoPi version, printer, firmware, ...)
I installed Octoprint with this tuto : Setting up OctoPrint on a Raspberry Pi running Raspbian