Downloading\\importing snapshots from\\to WPB fails: "Unable to Connect to tcp://www.domain.com:80. Error #0: php_network_getaddresses: getaddrinfo failed: Name or service not known; Code: 0"

Created:

2016-11-16 13:04:37 UTC

Modified:

2017-04-24 11:58:27 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Downloading\\importing snapshots from\\to WPB fails: "Unable to Connect to tcp://www.domain.com:80. Error #0: php_network_getaddresses: getaddrinfo failed: Name or service not known; Code: 0"

Applicable to:

  • Web Presence Builder 12.0 for Windows
  • Plesk 11.5 for Linux

Symptoms

Domain DNS zone is hosted externally and not managed by Plesk Panel.

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

Also import of the snapshot to a domain fails:

snapshot invalid

Cause

The issue occurs in case if DNS is handled externally, not by Plesk service, and a registrar suspends the domain for which we are trying to perform download\import.

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.

Have more questions? Submit a request
Please sign in to leave a comment.