pihole and admin folder twice in var-directory

Hi,

in the directory “/var/www” I saw the admin and pihole folders twice. Once in the root of “www” and also in the “html” subdirectory. Why?

And what should I note if I wanna install other software, like a website or cms? Maybe if they have also a folder which is called “admin”?

Hi

basically folder admin + pihole are just symbolic links into folder /var/www/html. There are not duplicates. This is needed due to the way PiHole works.

if you require an additional web server application, you would create them into a separat sub folder like /var/www/app1 or /var/www/app2. On your browser you could simply open these web sides using http://your.ip/app1 or http://your.ip/app2

Cool.

Should I use lighttpd or nginx?

you are already using PiHole? If yes, you already have a web server installed.