1

Sorry in case this is a noob question but I am new. I was wondering how I can install and use those three and in future maybe even more programs, while all pointing to the same IP. I managed to change ports for apache so i can access both Pi-Hole and the website, but failed to get Nextcloud running, since every request gets forwarded to the Pi-Hole's front page. Any idea what I'm doing wrong?

  • Pi-Hole is an DNS sinkhole it is normal , that mean all DNS requests go to Pi-Hole. If you can contact your HTTP apache server, then it's probably one problem side Nexcloud . have you try to configure nexcloud from here ? For installation go to : http://localhost, if you cannot access to this url try: http://127.0.0.1 for bypass DNS request and Pi-Hole – Ephemeral Dec 12 '19 at 19:18
1

I had problems too with NextCloud and Pi-Hole. With NextCloud working, pi-Hole didn't work after installation (in any case the webserver didn't work).

After a complete installation of Pi-Hole (with lighttpd the webserver), I had to change pi-hole's port from 80 to 8080

What didn't work for me:

  • Add the port server configuration in a new file /etc/lighttpd/external.conf
  • Delete external.conf and change port configuration in /etc/lighttpd/lightppd.conf

What worked:

  • Change port configuration in /etc/lighttpd/lightppd.conf
  • sudo touch /etc/lighttpd/external.conf to create an empty external.conf file

I can now access the server with http://192.168.68.108:8080/admin/or http://pi.hole:8080/admin/ or http://myPiName:8080/admin/

I didn't see any problem between the two functions of my Pi since.

| improve this answer | |
  • The problem with this is that the PiHole directs ad lookups to port 80, and expects a blank image or empty page to be served rather than the traffic hitting whatever else you have running on 80. – JPhi1618 Sep 7 at 4:18

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.