supports custom host name