Cannot access Pi-Hole in web browser


Please follow the below template, it will help us to help you!

Expected Behaviour:

[After installation of pihole in centos 7 i try to access my pihole in web gui but it display nothing. I perform ping test to check if my pihole is connected to my network and i found out that it is connected, Then i check systemctl status lighttpd.service because i thought that this is a web server service issue then i found out this error (code=exited, status=255) under lighttpd.conf.]

Actual Behaviour:

[Diagnostic pihole process
dnsmasq daemon is unknown
lighttpd daemon is failed
pihole-FTL daemon is active]

Debug Token:



Could you post the contents of /var/log/lighttpd/error.log? That should print out what the problem is.

I GUESS something is not correct with the lightttpd.conf file. TBF- there’s not enough information to go on but I would also look at the Fedora-based lighttpd.conf from the PIHole Github repo and copy/paste?


This is not abnormal - in Pi-Hole V4, pihole-FTL has the dnsmasq code embedded and runs in place of dnsmasq. The debug log will report dnsmasq as failed, inactive, etc.

This is the problem. Lighttpd is the web engine that supplies the admin interface.

What is the output of the following command from the Pi-Hole host terminal:

ls -laZ /var/www/html/admin

From your debug log - do you intend to be running SELinux in enforcing mode?

*** [ DIAGNOSING ]: Operating system
[✓] CentOS Linux 7 (Core)

*** [ DIAGNOSING ]: SELinux
[✗] Default SELinux: enforcing
[✗] Current SELinux: Enforcing

*** [ DIAGNOSING ]: Processor
[i] x86_64


sorry bro i am newbee here. but i think i couldn’t see the error.log that you want


Run this command and post the output:

sudo cat /var/log/lighttpd/error.log


this is the output sir

and yes, i intend to be running SELinux in enforcing mode because during pihole installation it require me to continue and allow it.


What was the output of this command?

sudo cat /var/log/lighttpd/error.log


this is the output sir.
and by the way sir. this is the screenshot captured when i run systemctl status lighttpd


Hi Sir thank you for your support. I found this link that have same problem with me.

i read it and try to create external.conf on the said directory and it works for me. but as of now i am searching for the reason on why it is needed or happen after i install in centos 7. any idea or comment will be appreciated. Thank you


This is caused by a change in a recent version of lighttpd which slightly broke the config script we set.


thank you sir


This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.