DNS not working but IP is?

I'm new to Cloudflare and just set up a default Nginx website for testing. However, it seems like Cloudflare isn't connecting to my server. I created a DNS record to point lolerstomp.com to the IP 54.91.224.88, but the site doesn’t load when I visit lolerstomp.com. It works fine when I access the site directly via the IP address.
7 Replies
neiljay
neiljay2d ago
I see the site is throwing 522 error which means CF is not able to establish connection. You got to check you the following doc: https://developers.cloudflare.com/support/troubleshooting/cloudflare-errors/troubleshooting-cloudflare-5xx-errors/#error-522-connection-timed-out
Cloudflare Docs
Troubleshooting Cloudflare 5XX errors | Cloudflare Support docs
When troubleshooting most 5XX errors, the correct course of action is to first contact your hosting provider or site administrator to troubleshoot and gather data.
David Wang
David Wang21h ago
when you connect directly to the IP, is it over http or https?
helpmeet
helpmeet18h ago
http
David Wang
David Wang18h ago
What's the cloudflare ssl mode set to?
yabbeh
yabbeh18h ago
did a port scan on that IP and saw it has no open ports my assumption is you need to open up the firewall to allow connectivity from the internet to tcp/80 and tcp/443 David's question above feels like he's asking about Full/Flexible certificate mode, and that's important because if you aren't turning on TLS for your server, then you should set flexible and not open port 443.
David Wang
David Wang17h ago
That's exactly where I'm going with this.
helpmeet
helpmeet14h ago
This server is hosted on AWS and for some reason the ports always shows closed when scanning, but they are open. I have another website using AWS Route53 and it always shows the ports as closed but the url works fine. As for the full/flexible modes....I've tried them all and nothing works. Also I can access my cloudflare sitem over the internet using the IP directly. Wouldn't that no work if ther ports were closed?
Want results from more Discord servers?
Add your server