Question

Setting up FTP on a subdomain with Webmin

Hello, I will start off by admitting that I am new to the world of Webmin and I am new to digital ocean (double threat I guess, hehe). So apologies ahead of time if noobishness inspires face-palms.

Anyways my question is how would one setup a subdomain and then make it an accessible ftp? I am running Webmin 1.840 on Ubuntu Server 16.04 LTS and have already accomplished being able to have ftp.domain.com point to a test.php page and have created a ftp account but I need help dialing in being able to go to ftp.domain.com and being able to see an index of the files / make them a little more accessible. Any good tutorials or videos out there? So far I have found some but still not accomplished my goal yet. My appreciation in advance for all those who read this and major appreciation for all who offer assistance!

TLDR Version: How would one accomplish setting up the ability to go to ftp.domain.com and see an index of files with Webmin?

Subscribe
Share

EDIT: I realized later I may be too specific what I am attempting to achieve is primarily something like this while running Ubuntu Server 16.04 LTS. Any pointers, tutorials, videos, or even alternative software for it? Thanks!


Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Accepted Answer

@SurfBlue714

With Webmin, to enable FTP, you’ll need to install ProFTP.

Webmin => Un-used Modules => ProFTP

You’ll then click on the button that says “Click Here”, which is followed by “to have it downloaded and installed using APT.”

Clicking that button will download and install ProFTP for you.

Now you’ll want to go to:

Webmin => System => Users and Groups

Click on “Create New User.”

Username        =>  Any username of your choice.
Home Directory  =>  Any path (i.e. /home/youruser)
Shell           =>  /bin/false
Password        =>  Normal Password (any secure password of your choosing)
Primary Group   =>  New group with same name as user

The click on “Create.”

You should then be able to login to FTP using the username you just created and the password you set for that user.