Redirect Rule Not Working (Domain, Proxy, without effecting Subdomains)

Hello! I am hoping someone would be so kind as to point me in the right direction. I am trying to configure a redirect rule that will not effect my subdomains. I would like the main domain to reedict to a different url and the subdomains to be unaffected. I am using the subdomains as part of a configuration on another platform. Below is the current setup. I am not very knowledgeable about redirect rules, so please don't judge too harshly... (http.request.full_uri eq "https://eclipsevolleyballperformanceclub.com/") or (http.request.full_uri eq "https://eclipsevolleyballperformanceclub.com") or (http.request.full_uri eq "eclipsevolleyballperformanceclub.com/") or (http.request.full_uri eq "eclipsevolleyballperformanceclub.com")
19 Replies
Chaika
Chaika4mo ago
If you just wanted to redirect the entire main domain/all paths/not any subdomains, you can just do http.host eq, like
No description
Chaika
Chaika4mo ago
oop I clipped the "e" from the start, you get the idea though, hostname eq matches all request to that hostname, ex: https://eclipsevolleyballperformanceclub.com/ but not https://subdomain.eclipsevolleyballperformanceclub.com/
krivers72
krivers72OP4mo ago
Thanks @Chaika , but no dice... so far
Chaika
Chaika4mo ago
what's the full redirect rule?
krivers72
krivers72OP4mo ago
No description
krivers72
krivers72OP4mo ago
oops
Chaika
Chaika4mo ago
remove trailing slash
krivers72
krivers72OP4mo ago
one sec
krivers72
krivers72OP4mo ago
No description
Chaika
Chaika4mo ago
looks ok. What's your apex (eclipsevolleyballperformanceclub.com) pointing to? Render.com or some cf partner?
krivers72
krivers72OP4mo ago
Forgive my ignorance... I din't undertand what " apex (eclipsevolleyballperformanceclub.com) pointing to? Render.com or some cf partner?" what that means
Chaika
Chaika4mo ago
What service is the host for it/what dns records exist for it?
krivers72
krivers72OP4mo ago
what dns exists for the apex? let me share a screenshot of the dns setting
krivers72
krivers72OP4mo ago
No description
Chaika
Chaika4mo ago
and you just want to redirect the entire apex/eclipsevolleyballperformanceclub.com right? If so, delete the proxied A record on top and replace w/ AAAA @ 100:: Proxied
krivers72
krivers72OP4mo ago
ok
krivers72
krivers72OP4mo ago
No description
Chaika
Chaika4mo ago
looks like it's working now, redirected me fine You were using a Cloudflare Partner before which was using a Cloudflare product called Cloudflare For SaaS, when setup like that on your apex, with A/AAAA records, it doesn't run your own configurations at all. By replacing the record you removed the connection, 100:: is IPv6 Discard "anything sent to this IP goes no where", just needed a proxied record for the traffic to flow to Cloudflare
krivers72
krivers72OP4mo ago
THANK YOU
Want results from more Discord servers?
Add your server