To change the domain name used within your addon. You need to follow the steps mentioned below:
- Remove the old addon domain from your Cpanel, Addon domains. This will NOT delete its directory on your account, and its content is safe;
- Set the new domain in the Addon domains.