Use this command
chown -R www-data:www-data /var/www
WordPress Developer
Use this command
chown -R www-data:www-data /var/www
Open your terminal and login your server.
sudo nano /etc/nginx/sites-available/example.com
add location
location /subfolder/ { try_files $uri $uri/ /subfolder/index.php?$args; }
and restart nginx
sudo service nginx restart
1) If Sendmail isn’t installed, install it:
apt-get install sendmail
2) Configure hosts file correctly:
nano /etc/hosts
And make sure the line looks like this: Continue Reading