Domain redirect
Hello, Im new to cloudflare domains, and cloudflare usage in general. Recently, Ive been wanting to buy a domain for redirect purpose, So, I bought a domain from cloudflare.
Recently, I watched a video on how to use the domain to redirect to another domain, I did the steps mentioned (Page Rules - Forwarding Url).
Then, I searched up my custom domain on google, but it just ended up on "This site cant be reached". I was wondering if there is a wait time for it to be registered or some sort of wait, Or if im doing something wrong.
48 Replies
Some other videos told me I had to add records, but the one i followed didnt tell me to, Also I have generally no idea how to set records up to redirects
@Cloudflare (Server Owner) can you help with this, im really worried
?pings
Please do not ping community members for non-moderation reasons. Doing so will not solve your issue faster and will make people less likely to want to help you.
If it isn't serving content and is just doing a redirect you can add a dummy record - type: AAAA, value 100:;
But you will always need DNS records otherwise browsers cannot resolve the site (as you have seen)
can you mabye tell me how to do this?
Cause all this is practically rocket science to me
Like: where do i add the value, what ipv4 address do i use, do i add route access, do i enable proxy status
cause idk anything
Pick the type AAAA and then it'll ask for IPv6 add 100:: there
And yes, enable proxy
route access?
Not sure what you mean by route access
Should be whatever your redirect domain will be
So i just enter the url of the domain as the name?
E.g. if you're redirecting
www.example.com
it'll be wwwhttps://altricksshop.mysellix.io
What about this
So you'd add
altricksshop
alright, let me try this, thanks for the help!
Alright, I did it. Now do I need to wait for propagating?
it's done
Your DNS may be cached for a while though so make sure to try and open it on another browser/network
I opened it on a new brower
It still tells me this
What do I do now?
Yeah so it's likely cached on your os or network
Try another device/network
k
ok, I did it on my phone, on my mobile data, but it still tells me that the Site cant be reached
The cloudflare domain I bought is Altricks.org
I want that domain to redirect to altricksshop.mysellix.io
You try visiting altricks.org and see if it works, cause it dosent work on my end
haha ok you should have been clearer about that, you made it seem like you wanted to redirect
altricksshop.mysellix.io
This means you added altricksshop.altricks.org
So, in your record, instead of altricksshop
do @
(meaning the root - altricks.org
)
that will then make it resolve
and then you can add your redirectOh ok, lemme try this
Alright I updated it
alright it's resolving
Yes it worked!
It works now
Thank you so much for the help
I don't know what I would have done
no worries
Walshy, If I wanted to make a subdomain like Altricks.org/discord (redirects to discord server link)
How would I be able to do that
That's just a path not subdomain but redirect rule - on path equals "/discord" - redirect
https://developers.cloudflare.com/rules/url-forwarding/single-redirects/
Cloudflare Docs
Single Redirects | Cloudflare Rules docs
Single Redirects allow you to create static or dynamic URL redirects. A simple interface with wildcard support makes it easy to define source and target URL patterns without needing complex functions or regular expressions, efficiently handling thousands of URLs with a single rule. Dynamic URL redirects also support advanced features such as str...
So do I need to upgrade my plan or..?
no
redirect rules are available for free
ye but Im already using altricks.org for the redirect to the website
how do i make altricks.org/discord
Make a rule for it
Ok wait leme try
So, this? I don't need to make a dns record?
If you don't have a DNS record for the root, you will need one - otherwise browsers will have no idea how to reach the site
but yes, that rule looks good
Cant I just use the dummy route i make for the original redirect
yes, you can make another dummy record
alright
do I give it route access or..? like, what do i put for the name
@
Which is rootalright
So its just this again?
is this correct?
It gives me this error
Oh wait, I got it to work. Thanks!
you already have one so you don't need another
Just add the redirect and you're golden
Ye, I just tried it and realized it worked lol, Thank you!