generalizing the hostname