I am attempting to follow the documentation: https://developers.cloudflare.com/rules/url-forwarding/single-redirects/create-dashboard/
and https://developers.cloudflare.com/rules/url-forwarding/single-redirects/settings/
But as of 10/23 both are very vague and offer no details.
I have a ticket open with Cloudflare. If they happen to reply to my ticket with a fix I will post the correct settings here.
The target field is not for URLs. It is for hostnames. A CNAME record creates an alias of a canonical hostname.
You can think of Bill Smith as an alias of the canonical name William Smith. They are different names that refer to the same person. That’s how a CNAME record works. It’s just another name. It is not a redirect. It also only works if the canonical name knows about the alias. If William doesn’t know he is supposed to answer to Bill, the alis isn’t very useful.
If your goal is to make a hostname lead to a particular page or path below another hostname, you will need to use a redirect. Try some of these examples.
I do thank everyone for their tips. Whilst I’m sure there is validity to everything mentioned here I am still lost. If someone could dumb this way way way down for me that would be great - OK, thanks!
I am looking to do nothing else besides I want to be able to open a web browser and type dev-tools.nick.me into the URL bar and it takes me to https://docs.google.com/spreadsheets/d/15HN62W
I’m on the Redirect Rules page. Under “Create new Dynamic Redirect”
For If… do I select “All incoming requests” or “Custom filter expression” radio button?
Assuming I use “Custom filter expression”…
When incoming requests match…
What do I select for “Field”?
What do I select for “Operator”?
What to I enter for “Value”
Then…
What do I pick for “Type”?
What do I put for “URL”?
Status Code = 302
Do I check the “Preserve query string” checkbox?
To follow up on this after further troubleshooting with Cloudflare support… Cloudflare was paused on my domain, this is why even if I had the correct settings they were not working as Cloudflare was paused on my domain.
For anyone looking to Forward a Subdomain to a URL these are the steps I used as of October 2023. In the example below I will Forward sub.doamin.com to https://google.com
*Note: verify Cloudflare is not paused on your domain. (Overview page, lower right under “Advanced Actions”)
Step1 - Create DNS Record
Type: CNAME
Name: sub
Target: domain.com
Proxy status: Proxied
TTL: Auto
Step2 - Create Redirect Rule
Under “Create new Dynamic Redirect”
For “Rule name” name your rule whatever you would like it named.