I don't know why, but until recently, I could load files located in /var/www/ by typing the folder name in my browser, and I could load files located in /var/www/html by using localhost/<>
Now, the files in /var/www/html still load, but the ones in /var/www don't and give the error "this page isn't working <> didn't send any data.
I've tried restarting apache2 and also restarting WSL2 from powershell as well as restarting my machine.
Everything seems to be in order with the conf files for the sites as well as apache2.conf -- in fact the settings are exactly the same as the settings on my VPS server, which loads my sites fine.
I'd welcome any suggestions as to what else to try.