Hi,
I followed this tutorial to create an FTP account so I could begin working with my server.
I created a user and I could login to the FTP account. But when I tried to change the default index.html with the Welcome to NGINX message to something else I got permission error.
I tried even to create a file and that did not work either. Does anyone know what I have missed?
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!
The tutorial you mentioned using restricts users to their own home directories. Using that, you will not be able to edit files owned by root or the webserver.
Since your domain no longer seems to be showing the default Nginx welcome page, it looks like you figured out how to do it. There are a number of different ways to do so. One would be to log in to the server as the root users and adjust the document root for Nginx to be located in a directory that the ftp user can upload to.
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.