Report this

What is the reason for this report?

Installed LEMP with ubuntu 14.04. But, now what?

Posted on December 17, 2014

Installed LEMP with ubuntu 14.04. There’s no ‘html’ or ‘www’ folder in ‘var’ folder like I see in other people’s droplet as example. How can I start uploading my website to the server?



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.

Hello, NGINX has as document root the folder /usr/share/nginx/html/. To change your folder edit /etc/nginx/sites-available/default and set root to /var/www/html. I think you will need to create by your self the folder with sudo mkdir -p /var/www/html

I made the folder, but now ssh account can’t upload to the server.

Error Directory /var/www: permission denied

Installed LEMP with ubuntu 14.04. Created the /var/www folder Allow my ssh user to write to /var/www Uploaded everything, but now I’m getting 403 Forbidden

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.