• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Issue Domain alias and SSL not working

T

timscha

Guest
Hello!

I added a domain as "domain alias" to an existing domain which has SSL with Lets Encrypt enabled. I also forced SSL for this domain.

Now the problem is, if I go to the domain with the alias domain I got an SSL warning, that the certificate is wrong, because Plesk loads the one for the "base" domain.

How can I easily fix this?

Thanks!
Tim
 
You can't fix it. It is doing what is is supposed to do, because the certificate is not for the alias.

Suggestion for a workaround:
1) Backup the files in your web space, so that with the following steps you cannot accidentally delete anything.
2) Remove the alias from the web space.
3) Create an additional domain in the same subscription. As the hosting directory set the same directory that you are using for the first (main) domain.
4) Create an SSL certificate for that new additional domain.

Now when you open the alias in a browser, it has a certificate and delivers the contents from the directory that your other domain is in.
 
Mhmm, the possibility to have an certificate for an alias would be great. But ok, I will get this way. Thank you Peter!
 
Back
Top