Article ID: 397, created on Oct 6, 2008, last review on May 11, 2014

  • Applies to:
  • Plesk 8.x for Linux/Unix


When you try to install or reinstall Plesk, the following errors appear:

Hostname check failed

Unable to resolve hostname or establish network access to local host


To fix the problem, you must specify the full hostname of the server in the form of "hostname.domain.tld" instead of just "hostname." You should also be able to ping the server by hostname. Follow these steps to resolve the issue:

1) Run the command below to specify a new hostname for the server, e.g., "":

# hostname

2) Add the following line to the /etc/hosts file, where ip.address is the real IP address of the server:

ip.address.of.your.server plesk

3) Change the following variable in the /etc/sysconfig/network file:

4) Restart network service:

# /etc/init.d/network restart

5) Make sure that you are able to ping the server using the new hostname:

# ping

The ping command should give the following output:

PING ( 56(84) bytes of data.
64 bytes from ( icmp_seq=1 ttl=64 time=0.086 ms
64 bytes from ( icmp_seq=1 ttl=64 time=0.086 ms
64 bytes from ( icmp_seq=1 ttl=64 time=0.086 ms

6) If pinging doesn't work, be sure that ICMP ECHO packets are allowed with the following:

# sbin/sysctl net.ipv4.icmp_echo_ignore_all
net.ipv4.icmp_echo_ignore_all = 0

If the server is still not accessible by the hostname, make sure that the firewall is not enabled. In this case, you need to turn off any firewall on the server.

29d1e90fd304f01e6420fbe60f66f838 a914db3fdc7a53ddcfd1b2db8f5a1b9c b8ef5052d936e902043e41759118114e 56797cefb1efc9130f7c48a7d1db0f0c

Email subscription for changes to this article
Save as PDF