the problem is that I have the subdomain registered in Web Server Setting, SSL certificates, there I have the certificate of a subdomain and it keeps giving me the warning that the certificate is wrong when I enter the web page.
In addition to having registered it and there I really want to make an index.html page to redirect everything to my main domain because it keeps taking me to the page
www.domain.com, what solution does it have?