The document root for addon domain can be changed directly from the cPanel. This article will guide you on how to do that.
- Login to your cPanel
- Under the Domains section click on Addon Domains
3. Click the edit icon next to the current path
4. You can change the path to any directory within your domain directories
5. Once you click the Change button, the server will change the Document root for the website.