Question
How do I change the document root for an Addon Domain or Subdomain?
Answer
Note: Backing up the account data before making modifications is recommended.
- Log in to the cPanel account where the addon or subdomain is located.
- Access the Home / Domains / Domains interface in cPanel.
- Locate the domain and select Manage.
- Change the document root under New Document Root.
- Click Update.
These changes will go into effect immediately.
Note: You need to manually move the site's contents into the new document root. This change only tells Apache where to search for the domain's contents.
Comments
0 comments
Article is closed for comments.