Report this

What is the reason for this report?

Debian Webserver, How to setup

Posted on February 12, 2015

I am setting up a Webserver using Debian. I am a beginner so I have installed LAMP. How do I move forward? How do I upload my files? Can I use FTP or how do I uploud it?

I used the guide on Digitalocean to setup LAMP.

Thanks for helping!



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!

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.

All droplets have SFTP enabled by default and this can be used to transfer files to your droplet. This guide will help you get started.

If you use your “root” user account with SFTP you will start out in the /root directory. By default, Apache on Debian 7 places the web root in /var/www

Thank you for your answer, you helped me!

I am installing phpmyadmin to link myphp website with the database. I dont know how to do on the “Create the htpasswd file” in the guide https://www.digitalocean.com/community/tutorials/how-to-install-and-secure-phpmyadmin-on-debian-7

sudo htpasswd -c /path/to/passwords/.htpasswd username

What do I need to edit for my server?

Thanks! :)

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.