Rename a domain to properly link with a number of variables