@sandeep I deleted the ssl of the subdomain and created an A record for dns. I tried getting ssl again, Although it gave an error because I tried too much. But right now it works the way I want.
Also definitive solution for those who missed like me: https://www.mysterydata.com/how-to-change-and-install-ssl-for-hostname-in-cwp-control-web-panel/
Thank you @sandeep