Scale up as you grow — whether you're running one virtual machine or ten thousand.

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.

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.
@jesin - I have no idea what happened behind the scene when I typed in those commands you provided but IT WORKS ! Thank YOU !
@aronjayvo - Thanks for the multisite tutorial too. I never knew wordpress can be configured that way. I didn’t happen to try your solution because @jesin solution worked like charm. Thank You too !
it’s ownership problem chown -R apache:apache /var/www this command will solve it
Hi @harrylynn17,
SSH to the Droplet as the root user or a user with sudo access and execute the following commands:
sudo chown -R www-data:www-data /var/www
sudo find /var/www -type d -exec chmod 755 {} \;
sudo find /var/www -type f -exec chmod 644 {} \;
Next change the shell of the www-data user:
sudo usermod -s /bin/bash www-data
Set a password for this user:
sudo passwd www-data
Now whenever you wish to upload files use sFTP to login as the www-data user. With this set of permissions you can install plugins/themes directly from the wp-admin area.