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?

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.

Site Moderator
Site Moderator badge
October 13, 2020
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:

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

Site Moderator
Site Moderator badge
October 13, 2020

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 :

Regards, KFSys

Try DigitalOcean for free

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

Sign up

Featured on Community

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