Cloudflare DNS not resolving to site

What is the name of the domain?

runerok.com

What is the issue you’re encountering

I have a web app running in AWS EC2 with an allocated elastic ip. Accessing the site through the IP works fine, but I am unable to access it with the domain name. Domain registered with Route53 (pointing domain NS to the 2 provided by Cloudflare). A and CNAME records set up in Cloudflare.

Your site seems to be working ok for me now…
https://cf.sjr.dev/tools/check?e677989010164fb4905a60beff76b0bf#connection-server-https

Are you still having a problem?

Not really, I am able to hit the site with the IP but not the name.
Also struggling with https as well. getting an ERR_CERT_AUTHORITY_INVALID (when hitting https//ip)

That’s nothing to do with Cloudflare as using the IP address goes direct to your origin. The SSL certificate on your origin won’t cover your IP address. Make sure you have a valid SSL certificate on your origin and use Cloudflare’s SSL/TLS mode set to “Full (strict)”.

The site is working ok for me, as above. What do you see when going to the site?

Yeah that’s what I’ve done (generate an origin cert, set it up in the server, set the SSL mode to full and check Always Use HTTPS). Good to know it’s working now, thanks!
I can get it working on my phone but still nothing in my pc browser, some kind of caching I guess/hope

Use “Full (strict)” so Cloudflare validates your origin certificate to ensure the connection is fully secured.

1 Like

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.