Redirect www-domain to another domain


I followed this tutorial to setup a domain redirect in Cloudflare but it does not yet work.

Any idea what I am doing wrong?

Thank you!


I set the IP address of the A record to as mentioned in the above linked tutorial video:

You won’t need the first asterisk. But what is the domain?

The domain is I have also tried without asterisk at the beginning which didn’t work neither:*

Works here

$ curl -I
HTTP/1.1 302 Moved Temporarily
Date: Sat, 11 Jul 2020 18:06:16 GMT
Connection: keep-alive
Cache-Control: private, max-age=0, no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Expires: Thu, 01 Jan 1970 00:00:01 GMT
Server: cloudflare

Probably some propagation issue on your end, just wait a couple of hours.

1 Like

Thank you. OK, it seems that I need to be patient :wink:

You can easily check yourself. Run this command


Once it returns a Cloudflare IP address the redirect should work.

If it still does not, clear your browser cache.

You are right. Usually the DNS changes in Cloudflare take immediate effect. For me the redirect is working now, too. Thank you for your help!

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