Plesk

Unable to install Let’s Encrypt certificate for a domain and alias: Error: Your domain in Plesk is hosted on the IP address(es) but the DNS challenge used another IP address

Symptoms

Cause

Aliases are resolving to a different server.

Resolution

Point DNS records of aliases to the Plesk server on a registrar side, wait for DNS propagation to be completed and secure the domain and alias;

OR

  1. Log into Plesk

  2. Go to Domains > example.com > SSL/TLS Certificates > Install

  3. Uncheck the alias example2.com in the Available Domain Aliases list:

  4. Click Get it free.

Additionally, it is possible to enable Synchronize DNS zone with the primary domain option at Domains > example2.com to keep the DNS records synchronized between the domain and its alias.