How to access a www/ directory on my droplet?

Hello, I have a simple droplet with the latest Ubuntu version, I would like to share with the outter world some documents with a link like http://XX.XX.XX.XX/www/myFiles Where the XXX… is the IP of my droplet How may I do that? It looks like the tuto of Digital Ocean is not up to date. Thanks in advance, regards, Xavier

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

Hello Hansen, that is a much relevant remark. My goal is simply to be able to share a file which is going to be regularly produced on the droplet.

Hello Hansen, I am using mac os 10.9.5, even though I don’t think that information is relevant as I log to my droplet using ssh. The setup? Well, I just paid for a server and started to log in. Regards, Xavier

Hi @prudentxavier

Are you using Windows, OS X or Linux on your computer? Did you setup the droplet yourself or did you use a one-click app? Did you setup the droplet with password or SSH key?