Creating an FTP account in cPanel allows you to securely upload, download, and manage files on your hosting server using an FTP client. This is useful for website management, file sharing, or providing access to specific directories.
Follow these steps to create an FTP account:
Step 1: Log in to cPanel
- Open your browser and navigate to your cPanel login page (e.g.,
https://yourdomain.com:2083
). - Enter your username and password, then click Log in.
Step 2: Access the FTP Accounts Tool
- Scroll down to the Files section in the cPanel dashboard.
- Click on FTP Accounts.
Step 3: Create a New FTP Account
-
In the Add FTP Account section, fill in the following details:
- Log In: Enter a username for the FTP account (e.g.,
ftpuser
). - Domain: Select the domain associated with the FTP account if you manage multiple domains.
- Password: Enter a strong password or use the Password Generator to create one.
- Directory: Specify the directory this FTP account will have access to:
- To give full access, set the directory as
/public_html
. - For restricted access, enter a specific directory (e.g.,
/public_html/subfolder
).
- To give full access, set the directory as
- Quota: Set a storage limit for the FTP account (e.g., 500MB) or choose Unlimited.
- Log In: Enter a username for the FTP account (e.g.,
-
Click Create FTP Account to finalize the setup.
Step 4: Verify the FTP Account
- After creating the FTP account, it will appear in the FTP Accounts list.
- Review the details, such as the username and directory.
Step 5: Configure the FTP Client
-
To use the FTP account, configure your preferred FTP client (e.g., FileZilla, Cyberduck):
- FTP Host: Use your domain name or server IP address (e.g.,
ftp.yourdomain.com
or192.168.x.x
). - Username: Enter the full FTP username (e.g.,
[email protected]
). - Password: Use the password you set while creating the FTP account.
- Port: Typically
21
for FTP or22
for SFTP.
- FTP Host: Use your domain name or server IP address (e.g.,
-
Alternatively, click Configure FTP Client in cPanel for automated setup files for popular clients.
Step 6: Test the FTP Account
- Open your FTP client and connect using the credentials you just created.
- Verify that you can upload, download, and manage files in the designated directory.
Tips for Managing FTP Accounts
- Use Secure Connections: Prefer SFTP (Secure File Transfer Protocol) for encrypted connections.
- Restrict Access: Limit the directory and storage quota for FTP accounts to prevent unauthorized access to sensitive files.
- Disable Unused Accounts: Regularly review and delete unused FTP accounts to enhance security.
By creating an FTP account in cPanel, you can easily manage files on your hosting server while maintaining secure access controls.