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!
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
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.