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

Posted October 12, 2020 412 views

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?

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.

Submit an Answer
3 answers

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:

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


by Melissa Anderson
by Kathleen Juell
FTP, short for File Transfer Protocol, is a network protocol that was once widely used for moving files between a client and server. It has since been replaced by faster, more secure, and more convenient ways of delivering files. In this tutorial, we'll show you how to configure vsftpd to allow a user to upload files to his or her home directory using FTP with login credentials secured by SSL/TLS.

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 :


by Lisa Tagliaferri
This tutorial will guide you through setting up multiple domains and websites using Apache virtual hosts on an Ubuntu 18.04 server. During this process, you’ll learn how to serve different content to different visitors depending on which domains they are requesting. For a…

just turn around and see the other way