host name display function