set preferred host