cpanel subdomain folder outside of public_html

Avatar
  • Answered
My server is a dedicated server with you guys. The main domain for the server is 01930.com

I was wondering if you have any documentation for setting up cPanel subdomain outside of the root 'public_html'. I would liketo establish a couple of subdomains that I can use to push content live to the production level at 'public_html' and would prefer to stay outside of the production folder structure for that reason
Avatar
c2oxide
If you're on a VPS, check here in WHM:
WHM >> Tweak Settings:
Restrict document roots to public_html
(change from YES to NO)
Avatar
johnpaulb-imhs1
Hello billoconnor, Thank you for your question. This article explains how to change the document root for an Addon Domain in cPanel, you can also modify a Subdomain with this method. Be sure to choose subdomains in Step 1. If you have any further questions, feel free to post them below. Thank you, -John-Paul