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! :)

  • 2 Users Found This Useful
Was this answer helpful?

Related Articles

How to fix defaultwebpage.cgi on a webserver

Running the following commands solves the above problem:   /scripts/updateuserdomains...

How to fix IP Missing issue on cPanel/WHM

We are here to help you with solving the problem of Missing IP Server in list accounts. The...

Install Let's Encrypt SSL in cPanel/WHM

Let's Encrypt, a valid, open-source license that offers free SSL for your domains. The Let's...

Fix Email Issue on a server using the MSFE

To solve the problem of not sending/receiving email on a server using the MSFE / Mailscanner...

Domain names are not showing in WHM

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