Cloudflare DNS settings with Platform.sh

I just signed up with Platform.sh and configured Clodflare DNS with their IPs (Public IP addresses · Platform.sh Documentation) however am getting a 502 Error. I am told this is a cloudflare configuration issue, need help.

Please toggle that DNS entry to :grey: DNS Only and wait five minutes for it to take effect. Then make sure it works properly with HTTPS.

Thank you , that worked, however now I get the following error " Your connection is not private". https is not enabled.

Also if I bypass that error, it says - Error 502

No route known for

That’s why I added this:

This is not a Cloudflare configuration issue. It’s a host configuration issue.

Clearly I am not qualified enough to do this. This was very simple with a 3rd party host. Struggling with platform.sh. This is what I am told

I recommend that you use the CNAME gw.us-3.platformsh.site where allowed
For the apex, use as many A records from this list as allowed:

52.137.90.183
52.156.93.30
51.143.107.76

How do I make sure it works properly with HTTPS

Please help.

They have to add a certificate to their server that matches your custom hostname (the hostname with the CNAME or “A” record).

Where would I find that certificate?

Platform is supposed to handle this, but if they let you upload a certificate, Cloudflare can generate one for you:
https://developers.cloudflare.com/ssl/origin-configuration/origin-ca

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