If you've read our FTP Getting Started Guide, you know that your cPanel username and password can be used as an FTP account. But, did you know that if you've created an Addon domain that you have a separate FTP account for that domain that you can use? When you're publishing to an Addon domain, you can choose to use either the cPanel username or the Addon domain FTP account. In fact, sometimes it's easier to use the Addon domain's FTP account for publishing. In this article we'll go over directory structure and why using that Addon domain FTP account can be the best way to publish to an Addon domain.

Directory Structure

When your cPanel account is setup, it has a main domain assigned to it. That main domain's document root (by default) is public_html. When you create an Addon domain in cPanel, a new folder is automatically created along with a new FTP account. By default, the new folder is given the same name as the Addon domain, but you can edit this if you prefer. That new folder is created inside the public_html so the Addon domain document root would be: public_html/addondomain.com. 

addon-domain-ftp

addon-domain-ftp-directory-structure

Understanding Your Addon Domain's FTP Account

When FTP accounts are created, each account is assigned to a directory(folder). When an account is assigned to a directory, it can reach that directory (and any subdirectories) but cannot go above the directory it is assigned to. When cPanel automatically creates the FTP account for your Addon domain, it is assigned to that Addon domain's document root directory. When that FTP account is used, it is restricted to that directory and it's subdirectories. This is helpful since it prevents publishing files to another Addon domain or to your main domain. If you have forgotten your Addon domain's FTP password, you can easily reset that FTP password by following the steps in our article: How to Reset Your FTP Password.

Here's an example of using an Addon domain FTP account to log into FTP with a popular FTP program, FileZilla:

addon-domain-ftp-filezilla

Notice that there's not much feedback from the program to tell you what folder you are in. This can be confusing from some, so if you're ever in doubt about which folder an FTP account is assigned to, you can double check this by viewing the FTP accounts in your cPanel and clicking on the "..." link in the path column for that FTP account:

addon-domain-view-ftp-accountsaddon-domain-view-ftp-account-directory

 

So, any time you are publishing to an Addon domain with either an FTP program or a web authoring tool such as DreamWeaver or KompoZer it can be beneficial to use that Addon domain's FTP account. This can prevent overwriting another site's file without having to input what can be a lengthy folder structure like public_html/addondomain.com in your software's publishing settings.

Did you find this article helpful?

We value your feedback!

Why was this article not helpful? (Check all that apply)
The article is too difficult or too technical to follow.
There is a step or detail missing from the instructions.
The information is incorrect or out-of-date.
It does not resolve the question/problem I have.
How did you find this article?
Please tell us how we can improve our Help Center:
Email Address
Optional, but our team may contact you for more information.
Did you find this article helpful?

Comments

2012-01-05 10:20 pm
<strong>The single most useful piece of information is that "Configure FTP Client" will automate this for several clients, and gives you all the information any ftp client will ask for in one nice little block of text.</strong>

I think you over-explain in your attempt to 'simplify' maybe I'm wrong, but have one of your non-technical people try to set this stuff up w/o anything but the online info.

People who know how to do stuff will write the worst 'how tos' unless they are doing it by watching a non-tech work their way through--even then, you're better off having tech writer write it w/ on-call access to a tech.
9,518 Points
2012-01-06 9:40 am
ChristiNi
Staff
Hello wizodd,

Thank you for your feedback on our article. We do apologize for any confusion that may have been caused. We've tested the "Configure FTP Client" option in the past (and I retested it today) and unfortunately it's now always the best option for everyone.

There are other FTP clients available besides the three you see in cPanel and we wanted to make sure the instructions would work for any FTP client. Additionally (at least in Filezilla) the configuration file creates 3 entries in the Site Manager. Of those three, only one is configured correctly. The other two are set to anonymous logon which is not permitted and will fail when trying to log in. This could be confusing as users may not know which entry they should be using or why the other ones are there.

Once again, thank you for your feedback. We strive to provide the best information for our customers and we want to know if something needs clarification or needs more information.

Please feel free to let us know if you have any additional feedback or questions.

Regards,

Christi N.

Post a Comment

Name:
Email Address:
Comment:
Are you a bot?
Submit

Please note: Your name and comment will be displayed, but we will not show your email address.

News / Announcements

Update to SSL Certificates - Certificate Warnings
1969-12-31 11:00 am EST
Hits: 639

Related Questions

Here are a few questions related to this article that our customers have asked:
Ooops! It looks like there are no questions about this page.
Would you like to ask a question about this page? If so, click the button below!

Help Center Search

Current Customers

Email: support@WebHostingHub.com Ticket: Submit a Support Ticket
Call: 877-595-4HUB (4482)
757-416-6627 (Intl.)
Chat: Click To Chat Now

Ask the Community

Get help with your questions from our community of like-minded hosting users and Web Hosting Hub Staff.

Not a Customer?

Get web hosting from a company that is here to help.