HostGator Web Hosting Help

FTP for Addon Domains and Subdomains

With cPanel, you can use FTP accounts for addon domains and subdomains in addition to your primary domain. This can be useful if you want to give someone direct access to upload and remove files for a particular addon domain or subdomain but still want to limit their access to other domains on your account. Additionally, using the addon domain and subdomain FTP accounts are a quick way to make sure you are uploading to the correct location.

To FTP into your account, you will need to have an FTP client that you are familiar with. If you are not familiar with FTP in general, please see our instructions on installing and using Filezilla, a free FTP client that HostGator recommends using.

FTP Accounts for Addon Domains

  • To login with an FTP account you created, first create the FTP account in the HostGator cPanel. For help on creating an FTP account, see "How to create an FTP Account".

  • Note: When assigning an addon, cPanel will NOT prompt you to create an FTP account. You will need to manually create the FTP account and set the directory for that FTP account to use the folder created for the addon domain (this will generally be the same name as the addon domain itself, so if you created example.com, the folder you need to attach to the FTP account will be /public_html/example).

    To log in as the addon domain it will be:

    • Username: username@addondomain.com
    • Password: FTP account password
    • Host: addondomain.com
    • Folder or Directory: /

FTP Accounts for Subdomains

  • To login with an FTP account you create, first create the FTP account in the HostGator cPanel. For help on creating an account, Click here.

  • Note: When assigning an subdomain, cPanel will NOT prompt you to create an FTP account. You will need to manually create the FTP account and set the directory for that FTP account to use the folder created for the subdomain (this will generally be the same name as the subdomain itself, so if you created blog.example.com, the folder you need to attach to the FTP account will be /public_html/blog).

    To log in as the subdomain it will be:

    • Username: username@addon_domain.com
    • Password: FTP account password
    • Host: addondomain.com
    • Folder or Directory: /

FTP with the Primary Account

  • The primary FTP account can be used to access all the domains, files and folders on your account. Simply log into your FTP client and navigate to /public_html/addon_domains_folder/ and upload your files there.

    To log in as the primary domain it will be:

    • Username: cPanel username - This can be found in the cPanel located in the left hand side column
    • Password: cPanel password - The password you use to login to your cPanel hosting account with HostGator
    • Host: yourprimarydomain.com (replace this with your actual primary domain)
    • Folder or Directory: public_html/addon_domain_folder/ or public_html/subdomain_folder/


Was this resource helpful?

Did this resolve your issue?


Please add any other comments or suggestions about this content:





Recommended Help Content

I do not want to see addon.maindomain.com. How do I do that?
Knowledgebase Article 337,836 views tags: accessible addon directory domain folders hidden htaccess inaccessible primary secondary

Can I make subdomains for my addon domains on the account?
Knowledgebase Article 523,173 views tags: add addon dns domain park subdomain

What is the difference between parked domains and addon domains?
Knowledgebase Article 450,153 views tags: add addon domain park parked

Related Help Content

How do I stop people from being able to use the addon domain as a subdomain of the primary domain?
Knowledgebase Article 421,371 views tags: addon domain htaccess

How do I setup an addon domain or parked domain in my hosting account?
Knowledgebase Article 915,880 views tags: addon domains parked

What is an Addon domain?
Knowledgebase Article 533,536 views tags: addon domain

I have setup a pointed/addon domain, where should I upload the files for this domain?
Knowledgebase Article 331,079 views tags: addon domain pointed

How to use use the FTP Account tool to create additional FTP Accounts. This is useful for granting FTP access to your account without giving anyone your cPanel password.
Video "How-to" Tutorial 1,176,108 views tags: account accounts cpanelutilities ftp login publish upload

This article will explain how to un-assign a domain name from your account.
Knowledgebase Article 416,390 views tags: delete domain domains park parked remove unassign unpark

I am trying to transfer a domain(s) from my current registrar to hostgator_sg. When I fill out the transfer form I cannot get beyond step 2/4. There does not seem to be any "submit" or "next"
Knowledgebase Article 369,641 views tags: addon auth code domain domains epp registration transfer

Can I have multiple domains pointing to my site or to a directory on my site?
Knowledgebase Article 518,584 views tags: domain domains