Error Message: Backend or gateway connection timeout
What is the issue you’re encountering
I recently moved my domain from wordpress hosted using Securi firewall, to Kajabi. I have a 301 redirect set up inside cloudflare for all non www requests for this domain to be redirected to the www version of the site, however I encounter an error:Error Code: HTTP 502 Error Message: Backend or gateway connection timeout. Server ID: 14034 What’s going on? Origin server might be down Sucuri Network blocked by Origin Firewall
What steps have you taken to resolve the issue?
Established a 301 redirect rule for all non WWW URLs to redirect to the www version of the domain. I attached screen shot of the rule
What feature, service or problem is this related to?
The static redirect must start with https://. Note that your current redirect rule will also redirect www to www so end up in a loop.
Better for you to create the rule for…
Hostname does not equal www.bartoliconsulting.com
Then use a dynamic instead of static redirect to… concat("https://www.bartoliconsulting.com", http.request.uri.path)
…to pass the path, and select “preserve query string” as well.
The CNAME for www can remain “DNS only”, as that is the target of the redirect (although if it works, you will be using O2O so requests will pass through your account first).
Anything you want to redirect from needs to be proxied. You can replace those records with AAAA 100:: as they don’t need to point at your host because you are redirecting away from those anyway.