Question

Is there a way to access images on my droplet from the web browser?

Posted October 31, 2014 3k views

My droplet IP is 104.131.101.4, and I have chmod 777’d the file located at (and named) /home/brdstr/eff.txt

I am trying to access the file with this URL in the browser:
104.131.101.4/home/brdstr/eff.txt

This txt file of couse should be accessible in that directory if all files (including png and jpg) are accessible.

The droplet is running Ubuntu as well btw.

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.

2 answers

I would recommend installing a web server such as nginx or apache

that will allow you to serve files

This tutorial no longer works. The mysql package used in there is no longer available.

Submit an Answer