change host to url