The 403 error means Apache is blocking access to /home/ubuntu/www/
. Fix it by updating your Apache config:
<Directory /home/ubuntu/www/>
Require all granted
</Directory>
Then set correct permissions:
sudo chown -R www-data:www-data /home/ubuntu/www/
sudo chmod -R 755 /home/ubuntu/www/
sudo systemctl restart apache2
Need help? Contact Bramerz – Website Development Agency.