detect host from page