An attempt to download a snapshot from Web Presence Builder GUI fails with the below error:
Internal Parallels Presence Builder error. File: /opt/psa/admin/externals/Zend/Http/Client/Adapter/Socket.php; Line: 235 Message: Unable to Connect to tcp://www.domain.com:80. Error #0: php_network_getaddresses: getaddrinfo failed: Name or service not known; Code: 0
Cause
The issue occurs in case if Plesk server fails to resolve the hostname for the specified domain. This may occur in case if DNS is handled externally, not by Plesk service.
Resolution
Add the corresponding domain to the hosts file on a server:
echo <domain_ip_address> domain.com www.domain.com >> /etc/hosts
Where the is the IP address which is assigned to the domain which causes the issue in Plesk Panel.
Thank you,