How to Enable FTP Access in WHM

Managing a web hosting environment often requires providing clients with File Transfer Protocol access. FTP is a standard network protocol used for transferring files from one host to another over a TCP based network. Enabling FTP access in Web Host Manager is an important task for web administrators and hosting providers.

In this article, we will discuss how to enable and configure FTP access in WHM, covering all essential steps and considerations.

Understanding WHM and FTP

WHM stands for Web Host Manager is a powerful web application provided by cPanel Inc. that allows web hosting service providers to manage multiple cPanel accounts. It offers a range of administrative functions including managing domains, creating hosting packages, and configuring server settings.

FTP stands for File Transfer Protocol is one of the oldest and most commonly used methods for transferring files over the Internet. It allows users to upload, download, delete, rename, move, and copy files on a server.

Prerequisites

Before enabling FTP access in WHM, ensure the following prerequisites are met:

  1. You need root level access to WHM to enable and configure FTP services.
  2. Make sure cPanel is installed on your server, as WHM is an interface to manage cPanel accounts.
  3. Ensure that the firewall allows FTP traffic. The default FTP port is 21.

Enabling FTP Access in WHM

Following are the step-by-step instructions to enable FTP access in WHM:

Step 1: Log in to WHM

First, log in to your WHM account. You can typically access WHM by navigating to https://your-server-ip:2087 your web browser. Use your root username and password to log in.

WHM login

Step 2: Locate FTP Configuration

Once logged in, follow these steps to locate the FTP configuration settings:

In the WHM dashboard, type “FTP” into the search bar located on the right-hand side. Select “FTP Server Configuration” from the search results. This will take you to the FTP Server Configuration page.

FTP Server Configuration

Step 3: Choose FTP Server

WHM supports two primary FTP servers such as ProFTPD and Pure-FTPd. Both have their features like:

choose FTP server
  • ProFTPD: Known for its simplicity and ease of configuration. It supports various authentication methods and is relatively easy to manage.
  • Pure-FTPd: Known for its performance and security features. It includes built-in SSL/TLS support and is designed to handle a large number of connections efficiently.

Choose the FTP server that best meets your needs by selecting it from the FTP Server Selection section. Click the “Save” button to apply your choice.

Step 4: Configure FTP Server Settings

After selecting your preferred FTP server, configure its settings. Some key settings include:

FTP server settings
  • TLS Encryption Support: It’s recommended to enable Transport Layer Security to secure FTP connections. Select “Required (Command/Data)” to ensure all FTP sessions use TLS.
  • Maximum Connections: Set the maximum number of simultaneous connections allowed. This helps prevent server overload.
  • Anonymous Logins: Decide whether to allow anonymous FTP logins. It’s generally recommended to disable this for security reasons.
  • Passive Ports Range: Configure the range of ports used for passive FTP. The default range is typically fine, but you can adjust it if necessary.

After configuring these settings, click the “Save” button to apply them.

Step 5: Create FTP Accounts cPanel

With the FTP server configured, the next step is to create FTP accounts in cPanel for your users. This is done through cPanel:

1. Log in to the cPanel account where you want to create an FTP account.

cpanel login

2. In the cPanel dashboard, navigate to the “FTP Accounts” section.

FTP Accounts

3. Fill in the necessary details to create the FTP account:

  • Log in: Enter the username for the FTP account.
  • Domain: Select the domain associated with the FTP account.
  • Password: Enter a strong password for the account.
  • Directory: Specify the directory to which the FTP account will have access.
  • Quota: Set a disk space quota for the FTP account (optional).
FTP details

Click the “Create FTP Account” button to finalize the creation of the account.

Step 6: Test FTP Access

After creating FTP accounts, it’s important to test the access to ensure everything is working correctly. Use an FTP client like FileZilla or Cyberduck to connect to the server using the newly created FTP credentials. Verify that you can transfer WHM backup using FTP on your local machine.

Security Considerations

Security is paramount when enabling FTP access. Here are some key security considerations:

  • Where possible, prefer SFTP over standard FTP as it encrypts all data transferred between the client and server.
  • Enforce strong password policies for all FTP accounts.
  • Always disable anonymous FTP access to prevent unauthorized access.
  • Restrict FTP access to specific IP addresses or ranges to reduce the risk of unauthorized access.
  • Regularly review FTP logs to detect and respond to suspicious activity.

Conclusion

Enabling FTP access in WHM is an essential task for web hosting providers and administrators allowing users to manage files on their servers effectively. By following the above guide you can ensure that FTP access is enabled and configured correctly. Regularly review your FTP settings and monitor access to keep your server secure and running smoothly.

Setting up multiple FTP on cPanel accounts can be a time-consuming task for busy website business owners. For those offering individual cPanel accounts to their clients consider Ultahost’s reseller hosting which provides you root access and WHM control panel access allowing you to easily manage your client’s cPanel accounts.

FAQ

What is FTP access in WHM?
How do I enable FTP access in WHM?
Which FTP servers can I use in WHM?
Can I create FTP accounts in WHM?
How do I test FTP access after enabling it?
What if FTP access is not working in WHM?
Is FTP access secure in WHM?

Related Post

How to Transfer WHM Backup Using FTP

Transferring WHM (Web Host Manager) backups using FTP (...

How to Fix “The account already exists

Transferring a domain can sometimes be a complex proces...

How to change your MySQL root password in WHM

Managing databases is an important aspect of web hostin...

File Manager vs FTP

Handling files on a website can pose a considerable cha...

How To Setup AutoDJ On SHOUTcast Hosting

In recent years, the rise of the internet has led to a ...

How to view Apache Status in WHM

The Apache HTTP Server commonly known as Apache is one ...

Leave a Comment