Cloudflare DNS to local up
Help
Hey all,
I am trying to use my domain to redirect me to a local ip address. Therefore I created a type a record with cloud.domain.dev and 192.168.178.82 on Cloudflare. The resolving works fine but when I try to visit the domain I get this error:
We’re having trouble finding that site. We can’t connect to the server cloud.domain.dev
I also asked on the Cloudflare community page and it seems to be an error in my local network but I can’t figure out what it could be.
Can someone from you help me with this?
Sort by:
Best
Open comment sort options
Comments Section
Can you connect if you add the record to your hosts file? That generic error message doesn't mean much, do you see the error code in the browser?
Firefox returns this error: ns_error_unknown_host
I tried adding the domain to the hosts file but its still not working. 127.0.0.1 cloud.domain.dev This is what you mean right?
If your trying to access from with in your LAN, you’ll need a DNS server on your network.
If your remotely trying to get in, then you’ll need a reverse proxy. Cloud flare also has their tunnels.
Think of the Router as like a barrier between the WAN and LAN. It I read your post right- your asking Cloudflare to connect to something it cannot see.
Ah okay thank you. In my head I thought that the browser would just handle the redirect and know that it is an internal ip…
My FritzBox is currently used as DNS Server. Do you know if I can just keep using this or do I need an additional server? Can you recommend a software?
IP 192.168 is a local based address
You need to find the IP your provider has set for you and use that.
Even better and far more secure, use Cloudflare tunnelling with ZeroTrust.