Web Root Folder www

I am setting, after a few sites in Nodejs, a new site in PHP and compared to those set previously I can’t understand how I have to manage web root folder (default /www) and what is the use of.
Where do I have to insert the folder upload?
I also tried to eliminate or rename web root folder, but with little success
For this site they are to the preliminaries so I can also start from the beginning.
Where is I wrong?

The web root folder is the folder containing your public files, similar to the www or public_html folders on your server. You should not change it.

Thanks Teodor
I had already done it previously, but I had encountered a strange problem to publish on remote server.
He published result corect with Chrome, but not with other browsers (Safari, Firefox …)
Now I try to recreate the project leaving the default www setting

Hi Theodor
Now it seems to work, but I don’t understand the setting of the www folder
In the local project folder, all files are contained in the www folder
But the www folder does not exist on the server, however there doesn’t seem to be any problems
Schermata 2024-03-20 alle 10.03.26 Schermata 2024-03-20 alle 10.04.28

The www folder is needed locally only. It should not exist on the server.

1 Like

Ok now everything is clear
Thank you