CNAME Cloudflare returns a 404 Not Found error.

I use CentOS 7, OpenLiteSpeed, CyberPanel, and Cloudflare.
Here is a list of records on my Cloudflare:

I created CNAME “” which serves as the alias of “” (similar to www). After creating a record, I go to “” and get an error: 404 Not Found but when I use www and non-www I can still access it normally.
I tried editing the vhost conf file to: vhAliases www.$VH_NAME, scontent.$VH_NAME
Then restart the server but the same error still occurs.
What is the problem here? How can I fix it?

I have solve this issue today in 2022-06-08T17:00:00Z

In my case; i want to point my domain which is in cPanel to CyberPanel.

cPanel domain is
CyberPanel domain is
and I want to redirect a subdomain that is on cPanel to an application hosted on CyberPanel with the subdmoain

What am I doing?

  1. Setting CloudFlare as usual to create and redirect CNAME
  2. go to
  3. and select “Domain Alias” atau pergi ke
  4. Click “Create Alias” and fill with