After deleting a subdomain, different subdomain gets redirected back to it

After deleting one of our subdomains we are now getting a redirect to it from a different subdomain.
Example: have tunnel up, go into Zero Trust → Networks → Tunnels → Public Hostnames
We have 3 subdomains set up: a, b and c.
Deleted a. Verify it is no longer in DNS settings.
navigate to b subdomain.
Result → 302 response to a (one that was deleted).

I tried deleting b from DNS and public host names settings and re-adding it.
I tried restarting cloudflared.

Not sure what else to try now - one of my subdomains is now unreachable from the internet.

I found a workaround - I noticed that going to b.domain.com would redirect to a.domain.com/ presumably from access control settings. When I landed on that url in the browser I changed the domain back to b.domain.com and left the rest of the path alone and then it worked. Hopefully I’m explaining this clearly enough.

1 Like

You may need to remove an Access policy for the domain as well if you have one, some strange things can happen with multi domain access policies if one domain gets deleted…

2 Likes