Apache sends wrong certificate
I have two domains in two webspaces: example.org and example.net.
When I visit https://example.org, Apache uses the certificate that I have configured for the example.org webspace.
When I visit https://example.net, Apache uses the certificate that I have configured for the example.net webspace.
When I visit https://www.example.net, Apache uses the certificate that I have configured for the example.org webspace.
How do I convince Apache to use the certificate that I have configured for the example.net domain when somebody requests https://www.example.net?
When I try to add a new Subdomain www to the example.net domain, I get
In DNS (also managed using Plesk), www.example.net is a CNAME for example.net
I have two domains in two webspaces: example.org and example.net.
When I visit https://example.org, Apache uses the certificate that I have configured for the example.org webspace.
When I visit https://example.net, Apache uses the certificate that I have configured for the example.net webspace.
When I visit https://www.example.net, Apache uses the certificate that I have configured for the example.org webspace.
How do I convince Apache to use the certificate that I have configured for the example.net domain when somebody requests https://www.example.net?
When I try to add a new Subdomain www to the example.net domain, I get
When I try to add a domain alias for the example.net domain, I getIncorrect subdomain name www.example.net: the domain example.net already has the WWW prefix.
Error: Incorrect name of domain alias www.example.net, this alias is already created for the domain example.net.
In DNS (also managed using Plesk), www.example.net is a CNAME for example.net
Last edited: