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

CGI center

The following CGI Scripts are pre-installed and ready to use on your account:Simple CGI Wrapper...

Apache mod_rewrite and examples

What is mod_rewrite? Mod Rewrite allows you to change the URL that everyone sees when they...

How to install a script using Fantastico?

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

How to download a home directory backup ?

Backups are very important part of maintaining a website. It is important to backup your files...

What is a subdomain name? How do I create and delete one?

A subdomain is a second website, with its own unique content, but there is no new domain name....