Pi-hole server and web server installation

Hi,

I'm using pi-hole on my Raspberry pi 4 and it's working fine.

I would like to install a web server for personal purpose only. May I install it without pihole compatibility problem ?

If someone has already done this work, please give me a short tutorial to avoid any troubleshooting. :slight_smile:

Many thanks.
smilorel

It really comes down to what you want to achieve. I use the web server originally installed with pi-hole, lighttpd. It's a perfectly suitable service for what I need, largely to serve up rpi-monitor content. I have switched to using my own, newer build of it though. Search the forums for various other options that people have used. I think some have had success with Apache or Nginx. The largest problem you will face in running more than one, is port allocation. Also be aware, custom set ups will make troubleshooting more difficult and the pi-hole folks may not assist.

I would like to make a small website for personnal purpose. I mean I want to use it to have an access for some specific calculation (I have it in python script but I can adapt them if needed).

You can run an additional webserver, but you will need to move either that webserver or lighttpd off of port 80 to avoid port conflicts.

I don't know if I can do it because my pihole version is on a docker container...

Then put the other webserver on a different port.

Change the exposed ports then in your docker-compose or your docker command.

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