try to correctly get the host of the current URL