change domain attribute to url