Document Root Changes

We can no longer change the document root for your main (primary) domain. This disables Fantastico being able to install applications, breaks existing database configurations, plus other issues. Document roots can only be changed on addon domains.

If you still want the root folder for your primary domain to be something other than public_html, you have two options:

Change the primary domain name on your account, then add the old primary domain as an addon domain. This way you can pick the root folder you want.

Use mod_rewrite to automatically redirect your website visitors to a new default directory. The new folder name will appear in the URL (i.e. http://domainname.com/subfolder/).

  • 20 Users Found This Useful
Was this answer helpful?

Related Articles

About Reseller WHM

We provide all resellers with a limited WHM. These limits help us control what actions the...

Learn cPanel

These are great resources we hope will help: Video Tutorials by cPanel Official cPanel User Manual

I want to set the folder for my addon domain to something outside of public_html.

cPanel will allow you to specify a path outside of public_html. If you do not see this option,...

Please read before creating a subdomain.

When you create a subdomain in cPanel, you will be asked to choose the name of the subdomain,...

Please read before creating an Addon Domain.

About addon domains Addon Domains are handled like subdomains as far as the server is concerned,...