Cloud Service >> Knowledgebase >> FTP >> How to Configure an FTP Server in WHM?
submit query

Cut Hosting Costs! Submit Query Today!

How to Configure an FTP Server in WHM?

Setting up an FTP (File Transfer Protocol) server in WHM (Web Host Manager) is critical for the administrator who handles file transfer between computers and web host computers. WHM is a handy utility that offers a friendly environment for server management. Thus making the setup process straightforward. 

Step-by-Step Guide to Configuring an FTP Server in WHM

1. Access WHM

- Log into your WHM account by navigating to

https://your-server-ip:2087 

or 

https://your-domain.com:2087.

- Enter your username and password.

  2. Navigate to FTP Server Configuration

- In the WHM dashboard search bar, type "FTP Server Configuration".

- Click on the "FTP Server Configuration"

- This will guide you to the configuration settings.

3. Choose an FTP Server

- WHM typically provides two FTP server options: Pure-FTPd and ProFTPD.

- Former is recommended for most users because of its simple and secure design.

- Choose the preferred FTP server from the drop-down list.

- For this guide, we will assume you are choosing Pure-FTPd.

4. Configure FTP Settings

- Anonymous Logins

Decide whether you want to allow anonymous logins. This is generally not advised for security reasons.

- Passive Port Range

Specify a range of ports for passive FTP connections. This is crucial for FTP connections through firewalls.

- Masquerade Address

If your server is behind a NAT firewall, you can enter the external IP address here to ensure proper functionality.

- TLS Encryption Support

Enabling TLS is strongly advised since the data transferred over the FTP connection is encrypted. Select the right level of support depending on the network's security requirements.

5. Save Configuration

- Click the "Save" button

- This will apply the changes and restart the FTP server to use the new configuration.

Creating FTP Accounts

Now, you must create FTP accounts for users to connect to the server.

1. Navigate to FTP Accounts

- To manage the FTP accounts, navigate to the WHM dashboard, look for “FTP Accounts” in the search bar, and click on it.

- This will direct you to the cPanel page to oversee the domain’s FTP account.

2. Add FTP Account

- Select the domain for which you want to create an FTP account.

- Enter the desired username and password. Ensure the password is strong to enhance security.

- Specify the directory to which this FTP account should have access. This can be the root directory or any subdirectory under it.

- Set the FTP account quota, limiting the amount of disk space the user can use.

3. Create Account

- Click the "Create FTP Account" button.

- The new account will be created and listed under the "FTP Accounts" section.

Managing FTP Connections

After setting up the FTP server and creating user accounts, managing and monitoring connections is essential to ensure smooth and secure file transfers.

1. Monitoring FTP Sessions

- In WHM, you can monitor active FTP sessions by searching for and clicking “FTP Connections”.

- This page shows all active FTP connections, status, and current actions. You can disconnect any suspicious or unwanted connections from here.

2. Securing FTP Connections

- The FTP server software is recommended to be updated frequently to guard against liabilities.

- Passwords should be strong and should be updated frequently.

- Make and implement TLS encryption on all FTP links to protect the data.

Troubleshooting Common Issues

1. Connection Issues

- Ensure the FTP server is running and no firewall rules block ports.

- Check that the user credentials are correct and the user has the necessary permissions.

2. Transfer Issues

- Verify that the user has sufficient disk quota and that the target directory has the appropriate permissions.

- Check for any restrictions or limits on the FTP server that might affect the transfer.

3. Security Issues

- Regularly inspect FTP logs for any suspicious activities.

- Disable anonymous logins and restrict access to trusted IPs if possible.

To Sum it

An FTP server in WHM is essential in managing the web server files since the server files are susceptible. Indeed, as highlighted in the above steps, the FTP server's installation, configuration, and administration are pretty simple. One must ensure that configuration and file transfer monitoring are done correctly to help providers provide web services efficiently.

Cut Hosting Costs! Submit Query Today!

Grow With Us

Let’s talk about the future, and make it happen!