Nextcloud & Pi-Hole on Raspberry

I have installed nextcloud in my raspberry direct on local adress like 192.168.1.1 not 192.168.1.1/nextcloud
and i have installed Pi-hole under the 192.168.1.1/admin but unfortunately is working only pi-hole now . can somebody help me to make them both working?

It’s a bit tricky and you probably have to check the webserver configuration. Can you tell us which webserver you are using and how your configuration looks like.
Alternative (perhaps easier): configure a second IP address for your RPi, use one IP for Nextcloud and the other for Pi-hole.

I know this has been a while, but: PiHole uses Port 80 by default and that messes with Nextcloud. To fix that, I set the PiHole-Port in
/etc/lighttpd/lighttpd.conf
to 8080, which works fine.

1 Like