Simply redirecting my domain to facebook page

#1

Hi! I have a domain ritz.bg and my DNS servers are on Cloudflare, so I can edit the records from the Cloudflare interface. I have no website and no server (hence no IP address), but I have a Facebook page: https://www.facebook.com/ritz.bg/
I simply want to redirect all traffic from *.ritz.bg and ritz.bg/ to the Facebook page.
I have set up the following Page Rule:
.ritz.bg/ -> https://www.facebook.com/ritz.bg/ (forwarding URL)
and I have Development Mode enabled and my DNS records are empty (I have no IP address yet)
But it does not work.
I have a free Cloudflare account.
Any suggestions? Thanks in advance!

0 Likes

#2

You dont have DNS entries for your domain. You need to create them before the page rule can work. It does not matter which IP address you enter as the page rule will always fire anyhow (e.g. you can enter 192.1.2.1) simply make sure the record is proxied (:orange:).

1 Like

#3

Yes.

Then need to create a page rule

From *example.com/*

To https://fb.com/example

0 Likes

#4

Thank you! That did the trick. For lurkers:
I created the following records:
Type A, Name @, value 192.1.2.1, proxied
Type CNAME, Name www, value ritz.bg, proxied
The redirection is slow though, but it works

2 Likes