Www.fagerback.com routes correctly, but fagerback.com gives 520

I have two domains in cloudflare and i’ve setup both the same way.
As mentioned in the title fagerback.com is not routed to www as one normally expects.

in the google search console I see that google has managed to crawl to http://fagerback.com which shouldn’t be active and found a couple of suspicious URL’s which starts with http://fagerback.com/__media__/js/netsoltrademark.php?d= on the 9 June.

Anyone have any idea how to fix this issue?

Error 520 occurs when the origin server returns an empty, unknown, or unexpected response to Cloudflare.

Contact your hosting provider or site administrator and request a review of your origin web server error logs for crashes and to check for these common causes:

  • Origin web server application crashes
  • Cloudflare IPsOpen external link not allowed at your origin
  • Headers exceeding 16 KB (typically due to too many cookies)
  • An empty response from the origin web server that lacks an HTTP status code or response body
  • Missing response headers or origin web server not returning proper HTTP error responsesOpen external link.
    • upstream prematurely closed connection while reading response header from upstream is a common error we may notice in our logs. This indicates the origin web server was having issues which caused Cloudflare to generate 520 errors.

You can read more at Troubleshooting Cloudflare 5XX errors · Cloudflare Support docs.

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