I have a domain name publicly connected to my home address, so I can access a webserver locally. For example: webserver.domain.com
But when trying to reach this from inside my home, I get on the web page of my router.
So I tried setting up a DNS server internally to be able to define static addresses with their internal IP address. For example: webserver.domain.com -> 192.168.0.10
When trying to use nslookup to find the location, it responds fine. But when trying to reach the webserver by its URL, I still get to the web interface of my modem.
For Windows I already found two rootcauses:
Mark Wifi as private and not as public Disabling "Use DNS over HTTPS" works, but I want to stay secure so I don't want to disable this For Android I already found 1 thing:
Disabling "Use Private DNS" works, but also here I would like to stay secure. I have used both Pi-Hole and AdGuard, but I can't get them to work stable with the options mentioned on (to stay secure).
Someone any idea how I could fix this? Because I would like to setup a DNS provider which is working for both Windows and Anroid browsers.