rothchild wrote:I think it's a fair confusion, as you say the installer also says it will be at /admin and also spits out a password (which is useless because the password by default is dietpi...) potentially there could be a couple of bits of tidying to this install to make it clear how the DP version differs from the main version?
Yep, no worries.
Ok so theres a few adjusments we make, mostly to allow for multiple use of the web server, not dedicated it to PiHole, and, prevent PiHole from overwriting the current
lighttpd.conf:
https://github.com/Fourdee/DietPi/blob/ ... 3700-L3708
After that, during configuration, we symlink
/pihole to
/html/admin, as per our online doc:
https://github.com/Fourdee/DietPi/blob/ ... 7230-L7243
As our DietPi web server paths are standardized and relative in
/var/www (eg:
/var/www/myfolder/website_1 =
http://ip/myfolder/website_1), the actual location of the PiHole web page (via the official installer) is
/var/www/html/admin and therefor the link is
http://ip/html/admin
So either of the following will work:
http://ip/html/admin
http://ip/pihole
But I will update the code to create a symlink so the following also works, to prevent this occurring again:
http://ip/admin
https://github.com/Fourdee/DietPi/issues/703