Changes base url to hostname