switch http host to full base url