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.
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