my server has pi hole which uses port 443, which causes a kind of conflict with nextcloud. I don’t know how to get around this as the solutions are unclear/confusing to me. I don’t know what reverse proxies are or which specific things I need to install or any dependencies.
when I disable pi hole, the supposed first set up page will then show a field to submit a domain which is also another thing I struggled with. I have used duckdns to get a domain name and changed router settings to port forward my public ip to the private ip of my server but that did not work, I do not know what I am doing wrong.
Is there any way for me to bypass the domain requirement at all? What if I only want to use tailscale with it locally
So 2 things:
how can i set up nextcloud with pi hole active at the same time?
what exactly do I need to do to get around the domain submission?
# More info at https://github.com/pi-hole/docker-pi-hole/ and https://docs.pi-hole.net/
services:
pihole:
container_name: pihole
image: pihole/pihole:latest
ports:
# DNS Ports
- "53:53/tcp"
- "53:53/udp"
# Default HTTP Port
- "80:80/tcp"
# Default HTTPs Port. FTL will generate a self-signed certificate
- "443:443/tcp"
# Uncomment the line below if you are using Pi-hole as your DHCP server
#- "67:67/udp"
# Uncomment the line below if you are using Pi-hole as your NTP server
#- "123:123/udp"
I also do not know what you mean by “accessing it externally”.
When setting up nextcloud there is this long copy paste code with a part like publish XX:XX right? Do you mean that one of the numbers beside publish is accessed externally?
using this copy pate does not work because I end up with
“docker: Error response from daemon: failed to set up container networking: driver failed programming external connectivity on endpoint nextcloud-aio-mastercontainer (1df6f62ab0c63328e205a768cedbb0222e7b1f3396ac1b1fd6868392115c1462): failed to bind host port 0.0.0.0:80/tcp: address already in use”
So I think from this port 80 or 8080 was also used by pihole already so chatgpt suggested me to change to other port numbers for example (9080, 9443, 9081) by changing like this “publish 9080:8080”. pretend that 9080 is the port used for the first set up page, while the other 2 is for just unaccessible until i finish the set up with a valid domain.
I forgot to mentionthis too: I am trying to install this through ssh in the Windows Terminal so for that tailscale method you showed, are there anything I should be doing differently?
Should I put the server’s IP address instead of 127.0.0.1? what is an “apache”, is it something I have to install separately?