CNAME Cloudflare returns a 404 Not Found error. — CyberPanel - WebHosting Control Panel for OpenLiteSpeed
CyberHosting

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:

[img]https://i.imgur.com/Qs68Z3n.png[/img]

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?
Thanks.
Sign In or Register to comment.
CyberPanel Discord

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!