Installed LEMP with ubuntu 14.04. But, now what?

  • Posted 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?


Submit an 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

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

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

Error Directory /var/www: permission denied