Question

I have setup LAMP on my Droplet, how do I browse subfolders?

I setup LAMP as per the tutorials that I found and have installed it fine it seems. When I visit the IP, the Apache2 default page shows up. However if I try to access IP/sub-folder-name I get 404. What step am I missing here?

Subscribe
Share

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

Hi @utsavrathour,

You can’t browse folders from your browser. You need to either use SSH or FTP. I would recommend SSH but in order to use that, you need some knowledge on Unix systems.

If you don’t have such knowledge, FTP would be a better option although, you’ll still need to install a couple of things via SSH. Having said that, there is a pretty good DigitalOcean tutorial on how to configure your FTP with a step by step guide. You can check it out here:

https://www.digitalocean.com/community/tutorials/how-to-set-up-vsftpd-for-a-user-s-directory-on-ubuntu-18-04

Once you have FTP, you can connect and go over all folders and edit them as you wish.

Regards, KFSys

just turn around and see the other way

Hi @utsavrathour,

Forgot to add something else. Regarding your websites, you need to configure vhost files for your domains in order for them to load from your droplet and you to be able to load them via your browser. Since you mentioned you’ve installed Apache, here is a tutorial on how to configure it :

https://www.digitalocean.com/community/tutorials/how-to-set-up-apache-virtual-hosts-on-ubuntu-18-04-quickstart

Regards, KFSys