accept hostname in instance host attribute