Domain keeps redirecting to a random site

Hi all, my domain codelazy.org keeps redirecting to a website which is dualcommercial.com and I do not want to redirect to that site and use my google site. I hope someone can help me, as this is pretty annoying.
Thanks,
Kash

This post was flagged by the community and is temporarily hidden.

Not seeing a redirect myself, no location header and I can’t see any redirect to that site in the JS. I am blocking a lot of stuff too though.

Do you see a redirect on another device?

Tried.

Yeah, It keeps going to the random webpage, tried it on a second computer, mobile devices and even cleared my cache. My buddy in the United Kingdom cant even access my page.

You should verify the value of the A record called codelazy.org in your DNS app corresponds to the IP address of your origin server.

1 Like

The A record was to redirect to www which didnt help at all. I might just contact the Domain Registrar of my domainwhich is NameCheap and see if maybe its on their end? If not, ill update again.

I don’t understand that. The A record is an address record that should point to your origin server IP address. If you point it to some other IP, when folks enter the name of your domain they go to the address you entered in the A record.

enter

$ ping dualcommercial.com

If the reply is the same IP as you have for your A record, you are pointing your site to that address.

it’s not, but your hosting provider can verify the correct value for the A record

I see the redirect loop (19 in total) in my Web browsers rather than redirect to the stated domain (at first sight I thought it is some spam redirection or malicious code on your site) - or something was “fixed” in the meantime (as already stated from previous replies in terms of an A type DNS record, etc.), but now you have redirection loop.

And my best guess would be that this could be related to your SSL.

Before moving to Cloudflare, was your Website working over HTTPS connection?
If so, did you had an valid SSL certificate installed at your origin host / server which covers both your naked (root) domain any any other needed sub-domain like www, mail, etc.?

May I ask what SSL option have you got selected under the SSL/TLS tab at Cloudflare dashboard for your domain ( Flexible, Full, Full Strict … )?

>>> https://www.codelazy.org/

> --------------------------------------------
> 301 Moved Permanently
> --------------------------------------------
Status: 301 Moved Permanently
Code:   301
Date:   Wed, 10 Nov 2021 20:36:49 GMT
Content-Type:   application/binary
Content-Length: 0
Connection: close
cache-control:  no-cache, no-store, max-age=0, must-revalidate
pragma: no-cache
expires:    Mon, 01 Jan 1990 00:00:00 GMT
Location:   https://www.codelazy.org/
x-xss-protection:   0
x-frame-options:    SAMEORIGIN
x-content-type-options: nosniff
CF-Cache-Status:    DYNAMIC
Expect-CT:  max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"
Report-To:  {"endpoints":[{"url":"https:\/\/a.nel.cloudflare.com\/report\/v3?s=Vm4d60NtowFJwTJMeHJRJnKya%2FI7YNBGiK0xGXIe6VwBTbWNOlCiAtuRjvgt3RtKazToUWBMPaKFcOzvmDxXvQMZEoDpqxNdj2CLwKuLxsv133qVfzIn5HMmtHvW16LUqjvO"}],"group":"cf-nel","max_age":604800}
NEL:    {"success_fraction":0,"report_to":"cf-nel","max_age":604800}
Server: cloudflare
CF-RAY: 6ac2133dddcd4a56-FRA
alt-svc:    h3=":443"; ma=86400, h3-29=":443"; ma=86400, h3-28=":443"; ma=86400, h3-27=":443"; ma=86400

codelazy.org -> www.codelazy.org is working.

Have you tried temporary pausing Cloudflare to se if there is any difference at all at the origin host / server?

@fritex, can you open your browser’s Dev Tools for the Network Tab and take a screenshot of the 19 redirects? It would be nice to see what path it follows, and if it ever goes to some other domain.

2 Likes

Sure, done.
Not going to some other 3rd-party domain (at least for now).
HTTP version also goes to HTTPS www - in case if needed.

Screenshot:

all the redirects from naked domain to www and continious loop:



>>> https://codelazy.org/

> --------------------------------------------
> 301 Moved Permanently
> --------------------------------------------
Status:	301 Moved Permanently
Code:	301
Date:	Wed, 10 Nov 2021 20:47:26 GMT
Connection:	close
Cache-Control:	max-age=3600
Expires:	Wed, 10 Nov 2021 21:47:26 GMT
Location:	https://www.codelazy.org
Expect-CT:	max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"
Report-To:	{"endpoints":[{"url":"https:\/\/a.nel.cloudflare.com\/report\/v3?s=tCGMUWBuKqZPuKHfmxjOlHNWpyGUunqoxjWqmkn6XV0QRwtDAi37LNSU46%2B7zK%2FXjjv%2Bj2h74CnzNVAW4WoxTdEuLti2j%2FGvuu4Ne55U9Noj6dcoCiUOjZg2ZFj63SM%3D"}],"group":"cf-nel","max_age":604800}
NEL:	{"success_fraction":0,"report_to":"cf-nel","max_age":604800}
Server:	cloudflare
CF-RAY:	6ac222d12b8a4e19-FRA
alt-svc:	h3=":443"; ma=86400, h3-29=":443"; ma=86400, h3-28=":443"; ma=86400, h3-27=":443"; ma=86400



>>> https://www.codelazy.org

> --------------------------------------------
> 301 Moved Permanently
> --------------------------------------------
Status:	301 Moved Permanently
Code:	301
Date:	Wed, 10 Nov 2021 20:47:27 GMT
Content-Type:	application/binary
Content-Length:	0
Connection:	close
cache-control:	no-cache, no-store, max-age=0, must-revalidate
pragma:	no-cache
expires:	Mon, 01 Jan 1990 00:00:00 GMT
Location:	https://www.codelazy.org/
x-xss-protection:	0
x-frame-options:	SAMEORIGIN
x-content-type-options:	nosniff
CF-Cache-Status:	DYNAMIC
Expect-CT:	max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"
Report-To:	{"endpoints":[{"url":"https:\/\/a.nel.cloudflare.com\/report\/v3?s=ewrzXxVGo416GWh3LNZUMGUx%2FnTRQKziCAlJCVOvjjsev1w%2B4MwF5ajhN8Jj1kPoGOwnRoS%2BxYoyS9gueFkd0OJDcYU%2FKbirzfEDin1%2BC%2B5TkCGpuC2cl7LSjtA1FaShEIst"}],"group":"cf-nel","max_age":604800}
NEL:	{"success_fraction":0,"report_to":"cf-nel","max_age":604800}
Server:	cloudflare
CF-RAY:	6ac222d1593ed6b9-FRA
alt-svc:	h3=":443"; ma=86400, h3-29=":443"; ma=86400, h3-28=":443"; ma=86400, h3-27=":443"; ma=86400



>>> https://www.codelazy.org/

> --------------------------------------------
> 301 Moved Permanently
> --------------------------------------------
Status:	301 Moved Permanently
Code:	301
Date:	Wed, 10 Nov 2021 20:47:27 GMT
Content-Type:	application/binary
Content-Length:	0
Connection:	close
cache-control:	no-cache, no-store, max-age=0, must-revalidate
pragma:	no-cache
expires:	Mon, 01 Jan 1990 00:00:00 GMT
Location:	https://www.codelazy.org/
x-xss-protection:	0
x-frame-options:	SAMEORIGIN
x-content-type-options:	nosniff
CF-Cache-Status:	DYNAMIC
Expect-CT:	max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"
Report-To:	{"endpoints":[{"url":"https:\/\/a.nel.cloudflare.com\/report\/v3?s=IVw6jdi4mRyrIeS7boXWL7mCaHhdP%2Fec7R5btNGrrnx7olmRMuRi4zYXCfEFmaF1dbTM4dNUXCiYmG1ldU9LEdGu9thClmWiNhTF1Lfi6fSt3QZLOL8zMroZbxTDSBX%2BsJ1b"}],"group":"cf-nel","max_age":604800}
NEL:	{"success_fraction":0,"report_to":"cf-nel","max_age":604800}
Server:	cloudflare
CF-RAY:	6ac222d24b5fdfef-FRA
alt-svc:	h3=":443"; ma=86400, h3-29=":443"; ma=86400, h3-28=":443"; ma=86400, h3-27=":443"; ma=86400



>>> https://www.codelazy.org/

> --------------------------------------------
> 301 Moved Permanently
> --------------------------------------------
Status:	301 Moved Permanently
Code:	301
Date:	Wed, 10 Nov 2021 20:47:27 GMT
Content-Type:	application/binary
Content-Length:	0
Connection:	close
cache-control:	no-cache, no-store, max-age=0, must-revalidate
pragma:	no-cache
expires:	Mon, 01 Jan 1990 00:00:00 GMT
Location:	https://www.codelazy.org/
x-xss-protection:	0
x-frame-options:	SAMEORIGIN
x-content-type-options:	nosniff
CF-Cache-Status:	DYNAMIC
Expect-CT:	max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"
Report-To:	{"endpoints":[{"url":"https:\/\/a.nel.cloudflare.com\/report\/v3?s=A8Uo7gFrJ77n5PR1NuO0CJR%2F0zq%2BKQbzxEFSVMeC6gZgJt6k3ERE2%2B6KRlMDRsKL1rsAmjyGecSZeLTjUIIgH1l5YhCn0GxpE9RiNiiIQUsojC2Rq8kOJqdP33Upzk254nXk"}],"group":"cf-nel","max_age":604800}
NEL:	{"success_fraction":0,"report_to":"cf-nel","max_age":604800}
Server:	cloudflare
CF-RAY:	6ac222d3290e4a6e-FRA
alt-svc:	h3=":443"; ma=86400, h3-29=":443"; ma=86400, h3-28=":443"; ma=86400, h3-27=":443"; ma=86400



>>> https://www.codelazy.org/

> --------------------------------------------
> 301 Moved Permanently
> --------------------------------------------
Status:	301 Moved Permanently
Code:	301
Date:	Wed, 10 Nov 2021 20:47:27 GMT
Content-Type:	application/binary
Content-Length:	0
Connection:	close
cache-control:	no-cache, no-store, max-age=0, must-revalidate
pragma:	no-cache
expires:	Mon, 01 Jan 1990 00:00:00 GMT
Location:	https://www.codelazy.org/
x-xss-protection:	0
x-frame-options:	SAMEORIGIN
x-content-type-options:	nosniff
CF-Cache-Status:	DYNAMIC
Expect-CT:	max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"
Report-To:	{"endpoints":[{"url":"https:\/\/a.nel.cloudflare.com\/report\/v3?s=cuTox%2BCOkPOfjpN7f2a30s7JtYnNT3u%2BXFZy3U40peqf8zu553WyPLuomgjtBeKBRX4PpSzszAUkvknRx5jjulNP%2Fa%2Fo3b9S97K2MyvAVF7V1eCg6bzZLBldKHfO7CGQrtTv"}],"group":"cf-nel","max_age":604800}
NEL:	{"success_fraction":0,"report_to":"cf-nel","max_age":604800}
Server:	cloudflare
CF-RAY:	6ac222d40f9e6967-FRA
alt-svc:	h3=":443"; ma=86400, h3-29=":443"; ma=86400, h3-28=":443"; ma=86400, h3-27=":443"; ma=86400



>>> https://www.codelazy.org/

> --------------------------------------------
> 301 Moved Permanently
> --------------------------------------------
Status:	301 Moved Permanently
Code:	301
Date:	Wed, 10 Nov 2021 20:47:27 GMT
Content-Type:	application/binary
Content-Length:	0
Connection:	close
cache-control:	no-cache, no-store, max-age=0, must-revalidate
pragma:	no-cache
expires:	Mon, 01 Jan 1990 00:00:00 GMT
Location:	https://www.codelazy.org/
x-xss-protection:	0
x-frame-options:	SAMEORIGIN
x-content-type-options:	nosniff
CF-Cache-Status:	DYNAMIC
Expect-CT:	max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"
Report-To:	{"endpoints":[{"url":"https:\/\/a.nel.cloudflare.com\/report\/v3?s=ThS2zVX6xWdRBzXRBC6VKYZJJGROr%2BwgH6H%2FSZ7ecOSIc3RXGl2%2B0JPFnGMPZHb2JqqlmSM37p%2FQCGnFo9beqFWUs7FAHsJjDh3ceT25PyQCa4JMWQ%2BSo8OIs5nSArl%2Be9n5"}],"group":"cf-nel","max_age":604800}
NEL:	{"success_fraction":0,"report_to":"cf-nel","max_age":604800}
Server:	cloudflare
CF-RAY:	6ac222d4ecaadfe3-FRA
alt-svc:	h3=":443"; ma=86400, h3-29=":443"; ma=86400, h3-28=":443"; ma=86400, h3-27=":443"; ma=86400



>>> https://www.codelazy.org/

> --------------------------------------------
> 301 Moved Permanently
> --------------------------------------------
Status:	301 Moved Permanently
Code:	301
Date:	Wed, 10 Nov 2021 20:47:27 GMT
Content-Type:	application/binary
Content-Length:	0
Connection:	close
cache-control:	no-cache, no-store, max-age=0, must-revalidate
pragma:	no-cache
expires:	Mon, 01 Jan 1990 00:00:00 GMT
Location:	https://www.codelazy.org/
x-xss-protection:	0
x-frame-options:	SAMEORIGIN
x-content-type-options:	nosniff
CF-Cache-Status:	DYNAMIC
Expect-CT:	max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"
Report-To:	{"endpoints":[{"url":"https:\/\/a.nel.cloudflare.com\/report\/v3?s=HcQu7KLdFp%2FCyn5ID0jMsU39GbATFYReHRFRtasq5uxXEZDg5GwR3OwaXXT7X3Wjpg%2FSAiH0u5Elh2ikcqpHjqpU8%2BMVRd6El93iFAXSLkhrbIkBI%2FBgDLIIOB3DnoZMxVkH"}],"group":"cf-nel","max_age":604800}
NEL:	{"success_fraction":0,"report_to":"cf-nel","max_age":604800}
Server:	cloudflare
CF-RAY:	6ac222d5cbeb4e43-FRA
alt-svc:	h3=":443"; ma=86400, h3-29=":443"; ma=86400, h3-28=":443"; ma=86400, h3-27=":443"; ma=86400



>>> https://www.codelazy.org/

> --------------------------------------------
> 301 Moved Permanently
> --------------------------------------------
Status:	301 Moved Permanently
Code:	301
Date:	Wed, 10 Nov 2021 20:47:27 GMT
Content-Type:	application/binary
Content-Length:	0
Connection:	close
cache-control:	no-cache, no-store, max-age=0, must-revalidate
pragma:	no-cache
expires:	Mon, 01 Jan 1990 00:00:00 GMT
Location:	https://www.codelazy.org/
x-xss-protection:	0
x-frame-options:	SAMEORIGIN
x-content-type-options:	nosniff
CF-Cache-Status:	DYNAMIC
Expect-CT:	max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"
Report-To:	{"endpoints":[{"url":"https:\/\/a.nel.cloudflare.com\/report\/v3?s=QPFkcKhfGQvz6D1yroejnWhWkaOrfFVwC8tWOOIiX24xY1qpOEI95ZyaozPP%2FbDXWUIF8ldGMIUgwI9XuqYuQjxUrAzWFOUd%2FUnHY76mnUIKAiqeiuQ88EMbpQ9RZAVeExp%2B"}],"group":"cf-nel","max_age":604800}
NEL:	{"success_fraction":0,"report_to":"cf-nel","max_age":604800}
Server:	cloudflare
CF-RAY:	6ac222d69824dfbb-FRA
alt-svc:	h3=":443"; ma=86400, h3-29=":443"; ma=86400, h3-28=":443"; ma=86400, h3-27=":443"; ma=86400



>>> https://www.codelazy.org/

> --------------------------------------------
> 301 Moved Permanently
> --------------------------------------------
Status:	301 Moved Permanently
Code:	301
Date:	Wed, 10 Nov 2021 20:47:28 GMT
Content-Type:	application/binary
Content-Length:	0
Connection:	close
cache-control:	no-cache, no-store, max-age=0, must-revalidate
pragma:	no-cache
expires:	Mon, 01 Jan 1990 00:00:00 GMT
Location:	https://www.codelazy.org/
x-xss-protection:	0
x-frame-options:	SAMEORIGIN
x-content-type-options:	nosniff
CF-Cache-Status:	DYNAMIC
Expect-CT:	max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"
Report-To:	{"endpoints":[{"url":"https:\/\/a.nel.cloudflare.com\/report\/v3?s=pihiIgHmf%2F8DnixEhvAMq4HbUzIqD6755tyQaZO6fPmV25WbKtCwU%2Fjj372PxAKqUZYwyyfAOCEr9lTowFnzmZjJMzUYV4e9qhx48GxxPY2A%2FvOutwVXuB1iTVOqMCT%2F7T6m"}],"group":"cf-nel","max_age":604800}
NEL:	{"success_fraction":0,"report_to":"cf-nel","max_age":604800}
Server:	cloudflare
CF-RAY:	6ac222d77be84d89-FRA
alt-svc:	h3=":443"; ma=86400, h3-29=":443"; ma=86400, h3-28=":443"; ma=86400, h3-27=":443"; ma=86400



>>> https://www.codelazy.org/

> --------------------------------------------
> 301 Moved Permanently
> --------------------------------------------
Status:	301 Moved Permanently
Code:	301
Date:	Wed, 10 Nov 2021 20:47:28 GMT
Content-Type:	application/binary
Content-Length:	0
Connection:	close
cache-control:	no-cache, no-store, max-age=0, must-revalidate
pragma:	no-cache
expires:	Mon, 01 Jan 1990 00:00:00 GMT
Location:	https://www.codelazy.org/
x-xss-protection:	0
x-frame-options:	SAMEORIGIN
x-content-type-options:	nosniff
CF-Cache-Status:	DYNAMIC
Expect-CT:	max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"
Report-To:	{"endpoints":[{"url":"https:\/\/a.nel.cloudflare.com\/report\/v3?s=nGXw2l7PN3jUBJjjd1vkDyWwfKsHSoZbfU40QGjp95SlejlCw3mSpmroIwWlsVOzzXnwzfT%2FX%2BNTLawjZZV5I2lN5ozSm4QNTCogQogrSueQGBANfsl%2F%2FoKzKEc%2B5XFbTowl"}],"group":"cf-nel","max_age":604800}
NEL:	{"success_fraction":0,"report_to":"cf-nel","max_age":604800}
Server:	cloudflare
CF-RAY:	6ac222d85eff7021-FRA
alt-svc:	h3=":443"; ma=86400, h3-29=":443"; ma=86400, h3-28=":443"; ma=86400, h3-27=":443"; ma=86400



>>> https://www.codelazy.org/

> --------------------------------------------
> 301 Moved Permanently
> --------------------------------------------
Status:	301 Moved Permanently
Code:	301
Date:	Wed, 10 Nov 2021 20:47:28 GMT
Content-Type:	application/binary
Content-Length:	0
Connection:	close
cache-control:	no-cache, no-store, max-age=0, must-revalidate
pragma:	no-cache
expires:	Mon, 01 Jan 1990 00:00:00 GMT
Location:	https://www.codelazy.org/
x-xss-protection:	0
x-frame-options:	SAMEORIGIN
x-content-type-options:	nosniff
CF-Cache-Status:	DYNAMIC
Expect-CT:	max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"
Report-To:	{"endpoints":[{"url":"https:\/\/a.nel.cloudflare.com\/report\/v3?s=ItQxyJ%2B0V5r0oaWvz15Hh6d66%2Fc%2BUkt9LwQAooi3Fq4FAWAqXk9wZ0OT%2Br24qyKCcuFkJLv8OrKDBhXEi3CsOifOCJPyMfD%2F%2B17p4BGmEdp6ZQfRBdTTBizp2rArSQsQxbNX"}],"group":"cf-nel","max_age":604800}
NEL:	{"success_fraction":0,"report_to":"cf-nel","max_age":604800}
Server:	cloudflare
CF-RAY:	6ac222d93ac92b35-FRA
alt-svc:	h3=":443"; ma=86400, h3-29=":443"; ma=86400, h3-28=":443"; ma=86400, h3-27=":443"; ma=86400



>>> https://www.codelazy.org/

> --------------------------------------------
> 301 Moved Permanently
> --------------------------------------------
Status:	301 Moved Permanently
Code:	301
Date:	Wed, 10 Nov 2021 20:47:28 GMT
Content-Type:	application/binary
Content-Length:	0
Connection:	close
cache-control:	no-cache, no-store, max-age=0, must-revalidate
pragma:	no-cache
expires:	Mon, 01 Jan 1990 00:00:00 GMT
Location:	https://www.codelazy.org/
x-xss-protection:	0
x-frame-options:	SAMEORIGIN
x-content-type-options:	nosniff
CF-Cache-Status:	DYNAMIC
Expect-CT:	max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"
Report-To:	{"endpoints":[{"url":"https:\/\/a.nel.cloudflare.com\/report\/v3?s=hz0WnmCeNusr9FmPqth3Fy7ndLOHv5DQVX0QHQNml5oSGClyIgF4Ub57dfHesvciIATDOEwebWy4XrgI1dgDMjHlb7FCepc8XMc%2BRWBTAk2gYbX2%2FT9V1ydFJs7EVG%2FxGTDn"}],"group":"cf-nel","max_age":604800}
NEL:	{"success_fraction":0,"report_to":"cf-nel","max_age":604800}
Server:	cloudflare
CF-RAY:	6ac222da1d75dfeb-FRA
alt-svc:	h3=":443"; ma=86400, h3-29=":443"; ma=86400, h3-28=":443"; ma=86400, h3-27=":443"; ma=86400



>>> https://www.codelazy.org/

> --------------------------------------------
> 301 Moved Permanently
> --------------------------------------------
Status:	301 Moved Permanently
Code:	301
Date:	Wed, 10 Nov 2021 20:47:28 GMT
Content-Type:	application/binary
Content-Length:	0
Connection:	close
cache-control:	no-cache, no-store, max-age=0, must-revalidate
pragma:	no-cache
expires:	Mon, 01 Jan 1990 00:00:00 GMT
Location:	https://www.codelazy.org/
x-xss-protection:	0
x-frame-options:	SAMEORIGIN
x-content-type-options:	nosniff
CF-Cache-Status:	DYNAMIC
Expect-CT:	max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"
Report-To:	{"endpoints":[{"url":"https:\/\/a.nel.cloudflare.com\/report\/v3?s=aX1jaQyJq7Ue4RKl1%2FZfwH6ZwGAqvEP2iIH2opPL20HjO9w8X3bAENH9yCgswti6bod6s4UvH7B9%2BFPaa%2FwDvCUdTonamgXp3naoMpKqOWtd%2FaX0Tq6tMvAEacOd4iUCqjfC"}],"group":"cf-nel","max_age":604800}
NEL:	{"success_fraction":0,"report_to":"cf-nel","max_age":604800}
Server:	cloudflare
CF-RAY:	6ac222db0c48dfe3-FRA
alt-svc:	h3=":443"; ma=86400, h3-29=":443"; ma=86400, h3-28=":443"; ma=86400, h3-27=":443"; ma=86400



>>> https://www.codelazy.org/

> --------------------------------------------
> 301 Moved Permanently
> --------------------------------------------
Status:	301 Moved Permanently
Code:	301
Date:	Wed, 10 Nov 2021 20:47:28 GMT
Content-Type:	application/binary
Content-Length:	0
Connection:	close
cache-control:	no-cache, no-store, max-age=0, must-revalidate
pragma:	no-cache
expires:	Mon, 01 Jan 1990 00:00:00 GMT
Location:	https://www.codelazy.org/
x-xss-protection:	0
x-frame-options:	SAMEORIGIN
x-content-type-options:	nosniff
CF-Cache-Status:	DYNAMIC
Expect-CT:	max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"
Report-To:	{"endpoints":[{"url":"https:\/\/a.nel.cloudflare.com\/report\/v3?s=ZdJGgRo0aCzU7uCQxuPX1TwmhW1F4klpeI4qM4qfVvos4pYoHn9umlHKdeIn%2BaJklPqk61BDWf9z87lCq1yrudX3y8w2jKcOK7ZENDEka%2B8P7fb5XhUqbI%2F1K2j%2FIcVVprQi"}],"group":"cf-nel","max_age":604800}
NEL:	{"success_fraction":0,"report_to":"cf-nel","max_age":604800}
Server:	cloudflare
CF-RAY:	6ac222dbdc4a431b-FRA
alt-svc:	h3=":443"; ma=86400, h3-29=":443"; ma=86400, h3-28=":443"; ma=86400, h3-27=":443"; ma=86400



>>> https://www.codelazy.org/

> --------------------------------------------
> 301 Moved Permanently
> --------------------------------------------
Status:	301 Moved Permanently
Code:	301
Date:	Wed, 10 Nov 2021 20:47:28 GMT
Content-Type:	application/binary
Content-Length:	0
Connection:	close
cache-control:	no-cache, no-store, max-age=0, must-revalidate
pragma:	no-cache
expires:	Mon, 01 Jan 1990 00:00:00 GMT
Location:	https://www.codelazy.org/
x-xss-protection:	0
x-frame-options:	SAMEORIGIN
x-content-type-options:	nosniff
CF-Cache-Status:	DYNAMIC
Expect-CT:	max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"
Report-To:	{"endpoints":[{"url":"https:\/\/a.nel.cloudflare.com\/report\/v3?s=Slt3ay%2FqQWSoRt5ekbQOXyHVDjzA3ugl0pCc340rm4Gj98wGALDQTRD%2BBhLDFbnD5BlasuS0ykrnFNRYxFCE4%2BnjkiiezeAPOLgP3ZqW2HUGike%2BymZ4a5MOvqpaTv3EECNH"}],"group":"cf-nel","max_age":604800}
NEL:	{"success_fraction":0,"report_to":"cf-nel","max_age":604800}
Server:	cloudflare
CF-RAY:	6ac222dcbb574ec2-FRA
alt-svc:	h3=":443"; ma=86400, h3-29=":443"; ma=86400, h3-28=":443"; ma=86400, h3-27=":443"; ma=86400



>>> https://www.codelazy.org/

> --------------------------------------------
> 301 Moved Permanently
> --------------------------------------------
Status:	301 Moved Permanently
Code:	301
Date:	Wed, 10 Nov 2021 20:47:29 GMT
Content-Type:	application/binary
Content-Length:	0
Connection:	close
cache-control:	no-cache, no-store, max-age=0, must-revalidate
pragma:	no-cache
expires:	Mon, 01 Jan 1990 00:00:00 GMT
Location:	https://www.codelazy.org/
x-xss-protection:	0
x-frame-options:	SAMEORIGIN
x-content-type-options:	nosniff
CF-Cache-Status:	DYNAMIC
Expect-CT:	max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"
Report-To:	{"endpoints":[{"url":"https:\/\/a.nel.cloudflare.com\/report\/v3?s=o1Kib%2BCbZrxL2oIzEOf2wvl%2Bsr7bpsRf5O33fzlz25sdkUpYKuk5oRLE%2B0wa%2Bdi13Au3EKJajUTsiy4YEmfvxAoP95WQjCxqVpZ1gsi6s%2BT4UX4NlamV%2FD9Bo9vadUDFECCT"}],"group":"cf-nel","max_age":604800}
NEL:	{"success_fraction":0,"report_to":"cf-nel","max_age":604800}
Server:	cloudflare
CF-RAY:	6ac222dd98925c3e-FRA
alt-svc:	h3=":443"; ma=86400, h3-29=":443"; ma=86400, h3-28=":443"; ma=86400, h3-27=":443"; ma=86400



>>> https://www.codelazy.org/

> --------------------------------------------
> 301 Moved Permanently
> --------------------------------------------
Status:	301 Moved Permanently
Code:	301
Date:	Wed, 10 Nov 2021 20:47:29 GMT
Content-Type:	application/binary
Content-Length:	0
Connection:	close
cache-control:	no-cache, no-store, max-age=0, must-revalidate
pragma:	no-cache
expires:	Mon, 01 Jan 1990 00:00:00 GMT
Location:	https://www.codelazy.org/
x-xss-protection:	0
x-frame-options:	SAMEORIGIN
x-content-type-options:	nosniff
CF-Cache-Status:	DYNAMIC
Expect-CT:	max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"
Report-To:	{"endpoints":[{"url":"https:\/\/a.nel.cloudflare.com\/report\/v3?s=mSNLjO2%2FW3sI9YiUGbcYjLPf1uIumtOqWtoTJM%2F35RwCXOrr%2FV2O7FsNHSlSj69FShFAYOpbtvjkAcLPXnxyYtEXKPiqcUnQh55KkJ4Zv81W4iYl0cowvqQno1gmsuVoUmeC"}],"group":"cf-nel","max_age":604800}
NEL:	{"success_fraction":0,"report_to":"cf-nel","max_age":604800}
Server:	cloudflare
CF-RAY:	6ac222de7d025c44-FRA
alt-svc:	h3=":443"; ma=86400, h3-29=":443"; ma=86400, h3-28=":443"; ma=86400, h3-27=":443"; ma=86400



>>> https://www.codelazy.org/

> --------------------------------------------
> 301 Moved Permanently
> --------------------------------------------
Status:	301 Moved Permanently
Code:	301
Date:	Wed, 10 Nov 2021 20:47:29 GMT
Content-Type:	application/binary
Content-Length:	0
Connection:	close
cache-control:	no-cache, no-store, max-age=0, must-revalidate
pragma:	no-cache
expires:	Mon, 01 Jan 1990 00:00:00 GMT
Location:	https://www.codelazy.org/
x-xss-protection:	0
x-frame-options:	SAMEORIGIN
x-content-type-options:	nosniff
CF-Cache-Status:	DYNAMIC
Expect-CT:	max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"
Report-To:	{"endpoints":[{"url":"https:\/\/a.nel.cloudflare.com\/report\/v3?s=GSU5N%2B%2Fpz57Dgc%2BvqTUJAlUHg9eoEXPTxaU4tLY2%2B6x7jR1tI6rJTnTvZ0SKXUMBxsMKyut3o978GxTnHFSGNk%2B%2BxoMYatyDtbcaJ6ZAzhMCRrVvPpzWOkydyDwcZhWqo6dH"}],"group":"cf-nel","max_age":604800}
NEL:	{"success_fraction":0,"report_to":"cf-nel","max_age":604800}
Server:	cloudflare
CF-RAY:	6ac222df5a1c5c20-FRA
alt-svc:	h3=":443"; ma=86400, h3-29=":443"; ma=86400, h3-28=":443"; ma=86400, h3-27=":443"; ma=86400



>>> https://www.codelazy.org/

> --------------------------------------------
> 301 Moved Permanently
> --------------------------------------------
Status:	301 Moved Permanently
Code:	301
Date:	Wed, 10 Nov 2021 20:47:29 GMT
Content-Type:	application/binary
Content-Length:	0
Connection:	close
cache-control:	no-cache, no-store, max-age=0, must-revalidate
pragma:	no-cache
expires:	Mon, 01 Jan 1990 00:00:00 GMT
Location:	https://www.codelazy.org/
x-xss-protection:	0
x-frame-options:	SAMEORIGIN
x-content-type-options:	nosniff
CF-Cache-Status:	DYNAMIC
Expect-CT:	max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"
Report-To:	{"endpoints":[{"url":"https:\/\/a.nel.cloudflare.com\/report\/v3?s=s8OjYcOn6S%2FS%2BmyICVO%2BDL9uz3MWwEt11coj%2F02oBhW2sZ71BfpCMLhhb3U1N2qiDtE8HnpiUPPbftExbg2BH8IE9P9VvxsKN1bTud%2FPcAaAPW2%2BiK5JI4Q%2BkNXhrlVecvl%2F"}],"group":"cf-nel","max_age":604800}
NEL:	{"success_fraction":0,"report_to":"cf-nel","max_age":604800}
Server:	cloudflare
CF-RAY:	6ac222e05db44e0d-FRA
alt-svc:	h3=":443"; ma=86400, h3-29=":443"; ma=86400, h3-28=":443"; ma=86400, h3-27=":443"; ma=86400



>>> https://www.codelazy.org/

> --------------------------------------------
> 301 Moved Permanently
> --------------------------------------------
Status:	301 Moved Permanently
Code:	301
Date:	Wed, 10 Nov 2021 20:47:29 GMT
Content-Type:	application/binary
Content-Length:	0
Connection:	close
cache-control:	no-cache, no-store, max-age=0, must-revalidate
pragma:	no-cache
expires:	Mon, 01 Jan 1990 00:00:00 GMT
Location:	https://www.codelazy.org/
x-xss-protection:	0
x-frame-options:	SAMEORIGIN
x-content-type-options:	nosniff
CF-Cache-Status:	DYNAMIC
Expect-CT:	max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"
Report-To:	{"endpoints":[{"url":"https:\/\/a.nel.cloudflare.com\/report\/v3?s=rWjXI7ZOuMVCpM4jFavQmyfGyDM42SbMoPo0Sf1DHoDc1lMNy%2F19JeFFM2AOTJwlCMp1%2B33%2BeheyLkD0Nt9M93WJqBxrS%2F2ItLQAv34Ft6oABKmRqylrefEELgXjrGkph9YO"}],"group":"cf-nel","max_age":604800}
NEL:	{"success_fraction":0,"report_to":"cf-nel","max_age":604800}
Server:	cloudflare
CF-RAY:	6ac222e13c806919-FRA
alt-svc:	h3=":443"; ma=86400, h3-29=":443"; ma=86400, h3-28=":443"; ma=86400, h3-27=":443"; ma=86400




1 Like

It’s totally redirecting to itself. That’s an odd one. It’d be nice to know the answer to your SSL mode question.

3 Likes

Alright, so after checking by ping, (thanks for the answer) It shows that It was the A record. I will try currently to change it to the right A Record and hopefully, I can fix it. ![image|532x130]Screen Shot 2021-11-10 at 2.08.05 PM
{redacted}
The IP’s were the same.
I’ll try to see if I can fix it.
Thanks,
Kash

1 Like

Hey there, I paused Cloudflare right now (waiting to see if anything happens)
I originally used DDOS-GUARD and then the redirect showed up, so I switched to cloudflare, boom. Same redirect, even page rules keep going to the redirected domain /(pagerulename) which I did not notice as of now. I can confirm that www.codelazy.org does work normally so its just the without www that is redirecting. As of now I am using Flexible for SSL/TLS

1 Like

I tried to do the Page Rule https:// to www but nothing happened. Everything that I explained is in the reply I sent to fritex.
" Hey there, I paused Cloudflare right now (waiting to see if anything happens)
I originally used DDOS-GUARD and then the redirect showed up, so I switched to cloudflare, boom. Same redirect, even page rules keep going to the redirected domain /(pagerulename) which I did not notice as of now. I can confirm that www.codelazy.org does work normally so its just the without www that is redirecting. As of now I am using Flexible for SSL/TLS"

Very likely the reason why it happens:

I am not familiar with this service.

Currently, I see it is working properly over HTTPS from the origin itself, no redirection loops and no redirection to some 3rd-party domain.

Could you please fix the Flexible issue here by switching to the correct and right SSL option, the Full (Strict) SSL under the SSL/TLS tab of Cloudflare dashboard for your domain name and enable Cloudflare proxying again to see what can we get then after?

You also have Content Security Policy (just to be aware).

1 Like

Do you have a :orange: CNAME record called www?

Good primer on page rules in this #tutorials

2 Likes

I have just followed the tutorial,
and yes. I do have a CNAME record called www which goes to ghs.googlehosted.com

Awesome!! Just tried it on my second pc and my main, and it works! Thank you guys for helping me, I was really stressed and couldnt figure it out. Thank you all!!!
(couldnt reply again so had to edit this one)

1 Like

And I already see it’s working - at least from my end - fine and being server good over Cloudflare :slight_smile:

  • maybe we should wait for some more time, just in case (possible due to my Web browser cache, but the IP is now Cloudflare and HTTP header too)

non-www to www works, HTTPS too.
No redirection loops anymore.

There is also 302 redirect from non-www to www:

2 Likes