So the way to do the thing you're directly asking is to add those hosts as aliases to /etc/avahi/hosts (which reads like /etc/hosts) so that those work and are advertised over zeroconf/avahi . The second thing would be to install a reverse proxy (using Apache or Nginx or something) to forward requests for those hosts to the right service.
No idea how well plex will work behind a reverse proxy, though.