I can’t connect to any application running on my server from it’s DNS managed by Cloudflare.
What steps have you taken to resolve the issue?
I registered my DNS and set its records - here I put the public IPs of my raspberry pi and set the Cloudflare proxy.
Created a tunnel and registered two public domains, one pointing to port 80 and another with a subdomain pointing to port 3000, tried setting the service type to HTTP and HTTPS - both didn’t work, application on 3000 should point to a next js app and on port 80 an nginx server is running.
Contacted the ISP to port forward ports 80 and 443 to allow for TCP connection.
Set the origin server, generating certificate and key and adding it to my raspberri pi and pointing nginx to it.
What feature, service or problem is this related to?
A few notes I’d like to make for anyone willing to help:
I followed a guide were hosting the server (raspberri pi) would basically just be run an app, create a tunnel on Cloudflare and set it’s public domain to your registered DNS and the service type to the address and port of your service running locally.
Although I knew very little about setting up the DNS, and I ended up trying to set up SSL and contacted the ISP as I though these things would be mandatory, if there is a simpler approach, I’d love to know. Thank you. I also understand all this is very basic but as someone who is hosting it’s first server, I’d appreciate some guidance.
Also, this began with this error DNS_PROBE_FINISHED_NXDOMAIN when I tried to access the public hostname without setting the DNS record, which is why I followed up on that.
Turns out I’m trully a noob and learning, so, for anyone struggling like me, here is some advice I learned, no need to register your IP to DNS records if you want to set up a tunnel, these things contradict each other as the point of having a tunnel is not exposing your IP.