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?
Thanks.
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?
Thanks.