validate hostname instead of base url