I have a domain/service that I want to use personally as a “search domain” in my computer/network dns settings. However, when I attempt to use it, the requests are going to the ip address for the server directly instead of the web service I have setup for this domain (reachable fine when going directly to it in browser). This was happening when I had my nameserver setup for this domain on the same web server on Linode. I have since switched to using Cloudflare Nameservers. The same thing is happening and I get Cloudflare’s Error 1003 (Direct IP access not allowed).
If I switch the search domain in my dns settings to another such as wikipedia.org and then just use “en” in the browser url bar, I do get pointed to en.wikipedia.org as expected.
So, I assume I need to make some changes on my server (NGINX) or is there something else I need to know (limitation on cloudflare etc)?
Thanks for assistance.