I use CentOS 7, OpenLiteSpeed, CyberPanel, and Cloudflare.
Here is a list of records on my Cloudflare:
I created CNAME “scontent.mydomain.com” which serves as the alias of “mydomain.com” (similar to www). After creating a record, I go to “scontent.mydomain.com” 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?
- Setting CloudFlare as usual to create and redirect CNAME
- go to
- and select “Domain Alias” atau pergi ke
- Click “Create Alias” and fill with