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/).

Note: In order to change the primary domain, you will have to write a ticket to support.

  • 1 Users Found This Useful
Was this answer helpful?

Related Articles

Apache Error Logs

When you check the error logs, you can see many things. Some things you can ignore: File does...

Accessing Web Disk

Web disk (also known as Web Dav) is a drag-and-drop interface which allows you to access your...

Apache Handlers (running html as php)

Apache handlers allow you to control what Apache will do with certain file types. When Apache...

Backup File Types

So, you have a backup file, but you need to know what type of backup it is so you can know what...

Copy Entire Database or Rename Database

Is there a way for me to copy an entire database in cPanel from another server? You will need...