show domain hostname for resources without pathnames (fixes #47)