Rebuild for the new domain