Raspberry Pi installation question

I just tried installing Pi-hole on a Raspberry Pi. I'm already using this Raspberry Pi as a web server for one of my Python program. When I was going through the installation step for Pi-hole, I lost connection to Raspberry Pi.

Do I need a dedicated Raspberry Pi for Pi-hole?

I think you've been installed pihole with lighttpd.

No if not conflicting with requirements:

https://docs.pi-hole.net/main/prerequesites/

For some reason when I installed Pi-Hole, I lost connection to the Pi. I re-flashed it, and I'm able to install Pi-Hole and use the web server.

It seems like YouTube ads are still getting through. Is there a way to block them? I tested speedtest.net, and the ads are gone.

Very long thread: