Website keeps redirecting even though the domain is pointed to my own hosting

What is the name of the domain?

simplextees.com

What is the issue you’re encountering

Redirecting to 3dcartstores.com

What steps have you taken to resolve the issue?

My DNS is pointed to correct IP of my hosting provider.

What feature, service or problem is this related to?

DNS not responding/updating

I am not entirely sure from the curl redirect logs:

curl -LIX GET 'simplextees.com' -H "Cache-Control: no-cache"
HTTP/1.1 301 Moved Permanently
Date: Mon, 12 Aug 2024 02:00:23 GMT
Content-Type: text/html
Content-Length: 167
Connection: keep-alive
Cache-Control: max-age=3600
Expires: Mon, 12 Aug 2024 03:00:23 GMT
Location: https://simplextees.com/
Report-To: {"endpoints":[{"url":"https:\/\/a.nel.cloudflare.com\/report\/v4?s=s8jya3RZz20rMlO4WVKRlb0IYhljo6Ll8DchopYj%2BoYBMXKfAFUamxSWaeGU4bHHh5yv%2FP4x4G5t3yLruyTdkTIid6ZJPQgMGYOt0gMfTH%2Fl1jmz1UPIoTmIUvLohL64Do16KVbidfd3ukf0v8A%3D"}],"group":"cf-nel","max_age":604800}
NEL: {"success_fraction":0,"report_to":"cf-nel","max_age":604800}
Server: cloudflare
CF-RAY: 8b1cdf1b1ea596db-SJC
alt-svc: h3=":443"; ma=86400

HTTP/2 301
date: Mon, 12 Aug 2024 02:00:23 GMT
content-type: text/html; charset=iso-8859-1
location: https://www.simplextees.com/
cf-cache-status: DYNAMIC
report-to: {"endpoints":[{"url":"https:\/\/a.nel.cloudflare.com\/report\/v4?s=0qTpYUvlk9x0fZ1K5A%2FbwoDJczd69fduKUDQBxs1udx4xkIDa3b9r77eb9WzcZW9fa8CUMnXaUYQ60onXEowIniTX24h%2FW6j%2FP7f7%2BLoGUFqVhpJNcXDEScfDvMbEXlw%2BQtMfwCh6QvK486Ls44%3D"}],"group":"cf-nel","max_age":604800}
nel: {"success_fraction":0,"report_to":"cf-nel","max_age":604800}
server: cloudflare
cf-ray: 8b1cdf1b6ed496db-SJC
alt-svc: h3=":443"; ma=86400

HTTP/2 301
date: Mon, 12 Aug 2024 02:00:24 GMT
content-type: text/html; charset=UTF-8
location: https://www.3dcartstores.com
cf-cache-status: HIT
age: 293
set-cookie: __cf_bm=.hJHPiiHOPFK3dzvIq2yaCX2AAkI.VGiEKmqwA8zh5g-1723428024-1.0.1.1-bvN6r7_We3XxroDxIRj6K7c5_HS.URmclq1Cdn84OLiXLwsjnEZnNbfqBCDgDjZ5xDed3f0JVtBuI3F1.jyV1g; path=/; expires=Mon, 12-Aug-24 02:30:24 GMT; domain=.www.simplextees.com; HttpOnly; Secure; SameSite=None
server: cloudflare
cf-ray: 8b1cdf1f091596db-SJC
alt-svc: h3=":443"; ma=86400

HTTP/1.1 200 OK
Cache-Control: private
Content-Type: text/html
Server: Microsoft-IIS/8.5
Set-Cookie: ASPSESSIONIDSGRRCCCT=AFDBLFJAOEPKJFMJFINOMDJK; secure; path=/
X-Content-Type-Options: nosniff
X-Frame-Options: SAMEORIGIN
Date: Mon, 12 Aug 2024 02:00:24 GMT
Content-Length: 29825

But, could you check if you have something configured in one of these Cloudflare-offered redirection features?

Nothing in configured in the Cloudflare’s rules.

Who is your hosting provider? Most hosting providers have a concept of “primary domain” where all non-primary domains are redirected to the primary. Is that probably what’s happening here?

My current provider is PloxHost. My issue is I used 3dcartstores in the past which was only cname record which is no longer exist. They told me they deleted my account on 3dcartstores but it keeps redirecting.

It looks like you might be making some DNS changes, so let’s give it a few hours and then check the situation again.

Yeah I turned off proxy from Cloudflare so I could double check the domain was pointed at the correct IP which it is. Thank you for your help, hopefully we can figure this out. I’m lost at this point.

Accidentally deleted my last post. Turning off proxy from Cloudflare fixed the redirecting issue. I turned back on proxy and now it’s redirecting again… any ideas?

Make sure that your SSL/TLS encryption mode is set to Full (Strict):

https://dash.cloudflare.com/?to=/:account/:zone/ssl-tls

I would also suggest to check your origin (e.g. the server at your hosting provider).

With cf-cache-status, it seems to be a redirect that is originating from your origin.

2 Likes