Dear Digital Ocean
I just read through this site, which is still high up on the first page of google results, but seriously contains something you should wanna change. The page is this one: https://www.digitalocean.com/community/tutorials/how-to-set-up-apache-virtual-hosts-on-ubuntu-16-04 (yes it’s old but still valid and as it’s high up on google, it’s just wrong information and important to adjust)
The change to make there is about the file and folder permissions inside /var/www/html at two lines looking like this: sudo chown -R $USER:$USER /var/www/html/somedirectory
You say to change the owner and group to the username which is really stupid. You should add the current user to the www-data group instead! Otherwise it’s simply wrong and damaging a lot of applications that will simply not run if the files and folders belong to the user, there’s a reason for the www-data user and group!!! Please adjust the page, or remove it.
Thanks Oli Gerber
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 there,
Thank you for the feedback, we will have a look into it.
Regards, Alex
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.