Subdomain is redirecting to the main domain

Hi, I created a CNAME subdomain to display my mta-sts policy. This CNAME is connected to a worker route where I added the policy.

This URL https://mta-sts.debtactionplan.net/ should display this: https://debtactionplan-net.hc-3dd.workers.dev/ but is redirecting to the main domain,

I did this for a lot of other domains where no landing page hosted but is just happening on this one that actually has a landing page: https://debtactionplan.net/

Greetings,

Thank you for asking.

Was it defined for all the requests like *domain.com/*, which would catch the mta-sts sub-domain too? :thinking:

Is the CNAME pointed to the workers.dev domain or?

Seems like Kinsta/WordPress cache or redirection is happening here :thinking:

$ curl -I https://mta-sts.debtactionplan.net/
HTTP/2 301
date: Sat, 10 Feb 2024 13:59:52 GMT
content-type: text/html; charset=UTF-8
location: https://debtactionplan.net/
cf-ray: 8534e0010e61c2b4-VIE
cf-cache-status: DYNAMIC
strict-transport-security: max-age=63072000; includeSubDomains; preload
ki-cache-type: None
ki-cf-cache-status: BYPASS
ki-edge: v=20.2.6;mv=3.0.2
ki-origin: g1p
x-content-type-options: nosniff
x-edge-location-klb: 1
x-kinsta-cache: MISS
x-redirect-by: WordPress

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