simplified redirect host logic