Change cPanel Document Root for Subdomain

In WHM there is a "Restrict document roots to public_html" setting. If you have enabled that option then you can able to create addon domains and subdomains outside of a cPanel user's primary domain's.

WHM >> Home >> Server Configuration >> Tweak Settings

Then "Save Changes".....

Done! :)

  • 3 Users Found This Useful
Was this answer helpful?

Related Articles

Domain names are not showing in WHM

We were unable to see any domains listed under WHM -> List Accounts. However, we can see the...

How to Start/Stop or Restart Apache server

Apache is the HTTP server that is freely available over the internet. It is a kind of software or...

How to install Attracta SEO Tools plugin

RequirementscPanel/WHM needs to be installed on your server. Step 1: SSH into your server and go...

How to Install CpCleaner in cPanel through SSH?

Installation Run the following shell commands as root via SSH: wget -O cpc-1.0.3.tar...

How to Secure a cPanel/WHM Web Server

Here are a few basic steps that you should keep in mind for keeping a server secure. 1) Strong...