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?

Show comments

Submit an answer


This textbox defaults to using Markdown to format your answer.

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

Sign In or Sign Up to Answer

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.

Try DigitalOcean for free

Click below to sign up and get $200 of credit to try our products over 60 days!

Sign up

Get our biweekly newsletter

Sign up for Infrastructure as a Newsletter.

Hollie's Hub for Good

Working on improving health and education, reducing inequality, and spurring economic growth? We'd like to help.

Become a contributor

Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.

Welcome to the developer cloud

DigitalOcean makes it simple to launch in the cloud and scale up as you grow — whether you're running one virtual machine or ten thousand.

Learn more
DigitalOcean Cloud Control Panel