• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Your host name must resolve to the correct IP address of your server

clinton4

Regular Pleskian
Hi,

I have a fresh server running CentOS 6 (final). I am trying to install Plesk 11.5.30 but i am experiencing some problems. When i run the plesk-installer i get this message:

Your host name must resolve to the correct IP address of your server, unless you are using network address translation (NAT).
Please quit Parallels Installer, fix the host name resolution problem,
and then try installing again.
You can skip the hostname check and continue the installation, however,
in such a case, the installer cannot guarantee successful installation.

Now, in my /etc/hosts file i have this:
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6

Is this correct? Or do i need to add/change something else?

My server is in the clound.
 
Hi there,

No, i have tried this. But i still get the same message.

In my /etc/hosts file i have:
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
x.x.x.x domain.com domain

(where x.x.x.x is my public ip)
 
You can set the hostname with:
Code:
echo host123.some-domain.com > /etc/hostname; /etc/init.d/hostname.sh start
 
Back
Top