Can't detect domain

AI-generated summary

Dávid_K is having trouble installing Discourse on his Raspberry Pi 4B, receiving an error that port 443 is not accessible. He has:

  • Forwarded ports 80 and 443
  • Ensured the Raspberry Pi is up to date and can reach the internet
  • Set up DNS records on Cloudflare with “DNS only” (grey cloud)

Other users have suggested:

  • Checking the DNS record setup on Cloudflare darkpixlz
  • Verifying port forwarding from the router to the Raspberry Pi on port 443 Falco
  • Pinging the domain to ensure the correct public IP address is returned KhoiUSA
  • Allowing ports in the Raspberry Pi firewall and testing from an external network due to possible NAT loopback issues anon59994034

Dávid_K has confirmed that:

  • The DNS records are set to “DNS only”
  • Port forwarding is set up
  • The public IP address is returned when pinging the domain
  • The Raspberry Pi does not have a firewall installed
  • He has tested the domain using his phone’s cellular data due to NAT loopback limitations

Howdy! I tried to install Discourse on my Raspberry Pi 4B 2GB ram, but I did not succeed.

I am getting the error:

WARNING: Port 443 of computer does not appear to be accessible using hostname:  subdomain.mydomain.com.
WARNING: Connection to http://subdomain.mydomain.com (port 80) also fails.

I made sure that:

  • All needed ports are forwarded. (80 and 433) **
  • The Raspberry Pi is up to date with all packages.
  • It is able to reach the internet.
  • Cloudflare has all of the DNS records set up, **²

** I had already talked to my ISP about port forwarding and if it is okay.
**² These are the following records on CF:
(A) - mydomain.cоm - my.pub.lic.ip - DNS only - Auto
(A) - subdomain - my.pub.lic.ip - DNS only - Auto
(HTTPS) - subdomain - 0 my.pub.lic.ip. - DNS only - Auto

Any other info:

I’m in a rush and can’t find much more info than this.
(Domains and IPs in the DNS / Errors are dummy IPs. These are not actual domains / IP adresses.)

You’re using cloudflare, right? Make sure for setup, the DNS record is set to “DNS Only” (Grey cloud)

After setup, you can make it “Proxied” (orange cloud) again.

Did you do the port forward from your router to the raspberry pi on port 443?

Try pinging your intended domain from command prompt. The IP address that it returns should be your servers public IP.

  • Did you allow the ports in the firewall of your Raspberry Pi?
  • Have you tried using another network like your phone’s cellular data to access the domain?
    Your router may not support NAT loopback so you can’t access the domain from your internal network.

Yup. It is on DNS only. I can’t get trough the setup though.

Yes. It is forwarded on 80 and 443.

Yes my public IP replies.

I do not remember installing any firewalls and when I used any other webserver, it worked.
The problem is I can’t even setup Discourse. And, no my router does not support NAT loopback so I do test it with my phones cell.