Fix baseurl and url to use custom domain.