admin page show index

Hello, I know this has been posted more, but so far I couldn't fix it by reading other posts

So I do have Apache2 installed. In the past I had pi-hole installed and running without a problem.

I had pi-hole uninstalled a month ago, since I wanted to try out adguard.
Not satisfied with adguard I wanted to go back to Pi-hole, so I installed pi-hole again, but I cannot seem to get the admin page working.

At first I had an error on lighttpd, but changing the port in external.conf to 8888 removed the lighttpd error that the port was already in use, but I am still unable to get the normal admin UI. I still get the idnex page on https://192.168.178.50/admin/
and it will not connect at all on http or https://192.168.178.50:8888/admin/
I have looked online and tried many suggested solutions (too many to mention here, but I seem to be unable to fix the issue

Expected Behaviour:

Getting to the admin ui and configure pi-hole

Actual Behaviour:

getting showm the index page for the admin folder under /var/ww/html/admin

Debug Token:

https://tricorder.pi-hole.net/HmjQna9M/

Pihole is otherwise working properly
ewald@linuxserver:/var/www/html$ sudo pihole status
[â“] FTL is listening on port 53
[â“] UDP (IPv4)
[â“] TCP (IPv4)
[â“] UDP (IPv6)
[â“] TCP (IPv6)

[â“] Pi-hole blocking is enabled
ewald@linuxserver:/var/www/html$

Can anyone please help me. I have been on it for over 3 weeks and quite frankly I am getting very frustrated!

You have changed your default configuration and FTL is on ports 80 and 443:

[webserver]
     domain = "pi.hole"
     acl = ""
     port = "80,443s,[::]:80,[::]:443s" ### CHANGED, default = "80o,443os,[::]:80o,[::]:443os"

But, Apache2 is already on both those ports:

[✗] tcp:*:80 is in use by apache2 (https://docs.pi-hole.net/main/prerequisites/#ports)
[✗] tcp:*:443 is in use by apache2 (https://docs.pi-hole.net/main/prerequisites/#ports)

Change your configuration in file /etc/pihole/pihole.toml to put FTL on the port(s) of your choosing other than 80 or 443.

Holy mother of computer gods!

Thank you soo much! This has finally fixed the issue.
You are a brain saver!

1 Like