The name
It's only valid for the names it contains
Every certificate comes with its list of names. yourdomain.com and www.yourdomain.com are two different names: if one is missing, anyone visiting through it will see the warning. A wildcard covers one level of subdomains, but not the bare domain.
What a certificate covers
exampleyourdomain.com
the domain
www.yourdomain.com
with www: another name
*.yourdomain.com
tienda., blog.: one level
a.b.yourdomain.com
two levels: not covered