In which folder do i put my php and other files intended for public view

Ok, i’m pretty new to digital ocean. I managed to install everything including php admin. i’m trying to upload my files through a deploying website because my files are hosted on bitbucket and github. Where should i deploy my files to? tried /var/www/html and /var/www/ but they don’t see to work.

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.

Accepted Answer

you will upload files to your document root. if you install you LAMP following this tutorial then your document root is /var/www/html. that means you will upload files into html folder.

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.

Thanks again, i realized i was pushing as web app instead of pushing through FTP