Trouble Redirecting A Subdomain

What is the name of the domain?

What is the issue you’re encountering

Redirect isn’t redirecting a subdomain

What steps have you taken to resolve the issue?

I’ve tried just about everything I’ve seen here online but I’m still having issues getting my subdomain to redirect to where I want it to. What I need to happen is to have https://order.picklesdelistl.com to https://order.toasttab.com/online/locations/b772d96e-3889-42b8-97a0-4ed956b99960/default

Screenshot of the error

Welcome to the Cloudflare Community. :logodrop:

Your hostname is proxied, which is good. Are you pointing to placeholder IPs? I prefer to use only a AAAA record of 100:: for hostnames that are only for redirection. It helps keep things much more clear and clean over a CNAME or even an A record.

If all requests to that hostname should redirected, you might consider changing your match criteria to http.host eq "order.picklesdelistl.com" instead of matching on the Full URI.

1 Like

Thank you. I’ll try it out. Here are the current DNS settings. Are you suggesting I remove the order A record?

1 Like

Yes. Replace it with a AAAA record named order and use the special IPv6 address 100::: That address is known as the discard prefix and is well-suited for use as a placeholder IP. Make sure that it is :orange: proxied so that Cloudflare proxy IPs are published.

Don’t forget to switch the matching portion of your rule as previously described.

2 Likes

That worked. Thanks!

2 Likes

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