hello,
i add youtube to my blacklist.
if i will open this page, i get only ERR_CONNECTION_REFUSED
from my browser.
is it possible, to see a page: e.g. Website blocked by PiHole?
hello,
i add youtube to my blacklist.
if i will open this page, i get only ERR_CONNECTION_REFUSED
from my browser.
is it possible, to see a page: e.g. Website blocked by PiHole?
If you try to go to the site via HTTPS, then the browser will see that the Pi-hole does not have the correct security certificate for youtube and will give you a security warning. If the Pi-hole's HTTPS port (443) is set to reject traffic, then you will get this connection refused warning (keeps requests from timing out). If you go to the site via HTTP, then it will show the block page, because then there is no security error.
Is it possible to redirect pages?
so if i open https://www.youtube.com
i redirect to (e.g.) http://pi-hole-ip/blocked.html
?
Pi-hole can redirect domains, not necessarily paths in the URL. However, the default is if an ad is redirected to the Pi-hole and the web server doesn't find any content at the URL (99% of the time), it will be redirected to the block page. Keep in mind, that on most installs this block page will only show up if you access it over HTTP, not HTTPS, because the Pi-hole does not have the necessary security certificates to show encrypted content in the place every ad domain.