How to Set Up FTP Access on Your AVIOX Cloud Server – Complete Step-by-Step Guide

How to Set Up FTP Access on Your AVIOX Cloud Server – Complete Step-by-Step Guide

backing-up-wordpress-9.png

FTP (File Transfer Protocol) is one of the simplest ways to manage files on your server. Whether you're updating your website, deploying applications, or editing configuration files, FTP provides an accessible interface for transferring files quickly. On AVIOX Cloud, setting up FTP is fast and secure when done correctly. In this guide, we’ll walk through installing an FTP server, adding users, securing access, and connecting via FTP clients.

 

1. Choosing the Right FTP Server

AVIOX Cloud supports multiple FTP servers, but the two most popular are:

  • vsftpd (Very Secure FTP Daemon) – known for strong security

  • ProFTPD – highly customizable

For most users, vsftpd is recommended due to its simplicity and robust security features.

 

2. Installing vsftpd on AVIOX Cloud

Ubuntu/Debian

 
sudo apt update sudo apt install vsftpd -y

CentOS / AlmaLinux / RockyLinux

 
sudo dnf install vsftpd -y

Start and enable the service:

 
sudo systemctl enable --now vsftpd

Verify status:

 
sudo systemctl status vsftpd

 

3. Configuring FTP Settings

Open the configuration file:

 
sudo nano /etc/vsftpd.conf

Enable recommended options:

 
write_enable=YES local_umask=022 chroot_local_user=YES allow_writeable_chroot=YES 

Restart the service:

 
sudo systemctl restart vsftpd

 

4. Creating FTP Users

Create a new user for FTP:

 
sudo adduser ftpuser sudo passwd ftpuser

Assign directory access:

 
sudo mkdir -p /var/www/html sudo chown ftpuser:ftpuser /var/www/html

 

5. Securing FTP with SSL/TLS

Generate SSL certificate:

 
sudo openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout /etc/ssl/private/vsftpd.key -out /etc/ssl/certs/vsftpd.crt

Enable SSL in the config file:

 
ssl_enable=YES rsa_cert_file=/etc/ssl/certs/vsftpd.crt rsa_private_key_file=/etc/ssl/private/vsftpd.key

Restart vsftpd.

 

6. Opening Firewall Ports

 
sudo ufw allow 21/tcp sudo ufw allow 40000:50000/tcp

Or for firewalld:

 
sudo firewall-cmd --permanent --add-port=21/tcp sudo firewall-cmd --permanent --add-port=40000-50000/tcp sudo firewall-cmd --reload

 

7. Connecting via FTP Client

Use FileZilla and enter:

  • Host: your-server-ip

  • Username: ftpuser

  • Password: your password

  • Port: 21

Ensure passive mode is enabled.

 

8. Common FTP Issues & Fixes

Login Incorrect

Ensure user shell is valid:

 
sudo usermod -s /bin/bash ftpuser

Permission Denied

Fix ownership:

 
sudo chown ftpuser:ftpuser -R /var/www/html

Passive Mode Failures

Set in /etc/vsftpd.conf:

 
pasv_min_port=40000 pasv_max_port=50000 

 

Conclusion

Setting up FTP access on AVIOX Cloud is simple once you understand the process and implement proper security. Whether you're deploying websites or maintaining online applications, a correctly configured FTP system ensures smooth file management and reliable server accessibility.


Share:


Leave a comment

Your email address will not be published. Required fields are marked *

Your experience on this site will be improved by allowing cookies Cookie Policy