Website displays white screen and only shows favicon. htaccess might be the issue

[Tue Feb 06 05:23:40.876571 2024] [proxy_fcgi:error] [pid 35445:tid 139634260493888] [client 79.137.68.184:0] AH01071: Got error ‘Primary script unknown’
[Tue Feb 06 05:23:41.237867 2024] [proxy_fcgi:error] [pid 35445:tid 139634243708480] [client 79.137.68.184:0] AH01071: Got error ‘Primary script unknown’
[Tue Feb 06 05:23:41.468112 2024] [proxy_fcgi:error] [pid 35446:tid 139634501424704] [client 79.137.68.184:0] AH01071: Got error ‘Primary script unknown’
[Tue Feb 06 05:23:41.815381 2024] [proxy_fcgi:error] [pid 35446:tid 139634411562560] [client 79.137.68.184:0] AH01071: Got error ‘Primary script unknown’
[Tue Feb 06 05:29:35.908540 2024] [autoindex:error] [pid 862:tid 140142568273472] [client 194.15.35.81:0] AH01276: Cannot serve directory /home/xxxxxxxxx>

Above is the error log and a screenshot of the page.

https://forum.hestiacp.com/uploads/default/original/2X/1/131e7192a6ac653a0a231e8a194e833359f6ca3a.png

I also ran this below codes in the right folder to see if it will display because this code helps display it in vestacp previously.

sudo chown -R www-data:www-data public_html

find public_html -type d -exec chmod 755 {} \; 

find public_html -type f -exec chmod 644 {} \; 

sudo chmod -R 775 public_html/core/storage 
sudo chmod -R 775 public_html/core/bootstrap/cache

Please i need help in fixing this.

sudo chown -R  user:www-data public_html
Owner: user
Group: www-data

I got this response.

chown: invalid user: ‘user:www-data’
Owner:: command not found
Group:: command not found

chown: invalid user: ‘user:www-data’
sudo chown -R ‘YourUser:www-data public_html’
/home/youruser/