Document Root Changes

We can no longer change the document root for your main (primary) domain. This causes problems with Fantastico not being able to install applications, 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/).

Was this answer helpful?

 Print this Article

Also Read

Copy Entire Database or Rename Database

Proxy access for cPanel, WHM, and webmail. Needed to bypass firewalls.

With your Linux Shared Hosting accounts, you have access to a control panel that contains the...

Help I added an addon domain why did it say subdomain added?

I added an addon domain why did it say a subdomain has been created?Please ignore this! It is a...

How to install a script using Fantastico?

Fantastico is a great addition to cPanel, which allows users to install the great open source...

How do I deny IP address access?

Do you want to stop someone from visiting your website? This tool will block anyone from a...