Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The third box from the top of the page is called "Document Root" and this is the directory where you will upload the files for this new site. 

Image Added

The Document Root essentially acts the same way public_html does for the main account, but for the newly created addon domain. As a reminder, this is where your new (addon) site's index page and other site files belong.  You can also create a new FTP account for the addon site. This is generally used if you want to restrict access to your primary site by only allowing access to this folder and those below it.  To do this, check the box next to "Create an FTP account associated with this Addon Domain" and follow the onscreen information. 

As you can see on the image above, somedomain.com is added. In this case the path to the web folder of the domain is account's home root directory plus /somedomain.com folder, that is full path is /home/username/somedomain.com/. Please, note that current version of cPanel for security reasons creates addon domains in account's root folder instead of public_html folder as before.

If you missed creating FTP account associated with the addon domain, it is not a big problem. To create it, go to cPanel > FTP Accounts  and follow the onscreen information. In the example below someftp@somedomain.com FTP account is going to be created.

Image Added

You can also simply FTP to the main site, using the main site's username and password, then upload the files as you would to any regular subdirectory. This can be confusing for new users, so our recommendation for simplicity, performance and security reasons is to use a separate hosting account for each site that you plan on hosting. On the other hand, this can be convenient for some other users who may find it better to have one login. For security reasons, we recommend using a new FTP user (with strong password) for each person in your organization who requires FTP access, and those users should only have access to the addon domains which they maintain, instead of the main cPanel's FTP account. 

...