• 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

Hostname

V

VengfulSquirrel

Guest
This could be more of a linux question than a plesk question but I keep getting this error when trying to upgrade plesk 7.5.4 to plesk 8.0 in suse 9.3. Does my host name have to be tied to a valid ip address? Right now I am trying to use 192.168.1.35. And I can ping my host name so I don't see how it could not be resolved... What am I doing wrong?

Unable to resolve host name.
Please specify the host name in the /etc/hosts file
or specify DNS configuration in the /etc/resolv.conf file on your system.

-Ian
 
Code:
www:/usr/local/psa # cat /etc/hosts
127.0.0.1       localhost
192.168.1.35 www localdomain
www:/usr/local/psa # cat /etc/resolv.conf
domain localdomain
nameserver ***.***.***.***
nameserver ***.***.***.***
www:/usr/local/psa #

OR

Code:
www:~ # cat /etc/hosts /etc/resolv.conf
127.0.0.1       localhost
192.168.1.35 [url]www.localdomain[/url] localdomain
domain localdomain
nameserver ***.***.***.***
nameserver ***.***.***.***
www:~ #

I *'ed out the dns servers because I am illogically paranoid. Does the host name need to be resolved through strictly the dns servers?
 
Here's how they should be. Keep in mind that a host name is not a www

/etc/hosts
_____________________________________
127.0.0.1 localhost.localdomain localhost
192.168.1.35 host.mydomainname.com host
_____________________________________

/etc/resolve.conf
_____________________________________
nameserver ***.***.***.**1
nameserver ***.***.***.**2
_____________________________________

Then a dns "A" entry should be made for host.mydomainname.com

host.mydomainname.com A 192.168.1.35
 
Back
Top