Setting up PiHole behind a modem and a router in AP mode

You were of great help, thank you!
You helped me set it up and it is working with all my devices doing what they are supposed to do. I searched the forum for the issue I am having and found this:
Thread
It describes exactly what I am experiencing and gives a few pointers to potential solutions. Thank you and all the best