Question
How do you change the document root of a cPanel account's main domain?
Answer
The document root of a main domain on a cPanel account cannot be changed from public_html. This is mentioned in our documentation here:
Manage the Domain | cPanel & WHM Documentation
- You cannot change the document root directory for the Main Domain.
You can, however, customize the document root of a subdomain or addon domain, with the steps to do so outlined here:
How can I change the document root for an Addon Domain or Subdomain?
Comments
0 comments
Article is closed for comments.