• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

Issue - localhost doesn't resolve

crnunez

Regular Pleskian
Hello;
What is the solution for this terrible issue with localhost?

Thanks in advance.

CentOS 5.2
Plesk 9.0
 
Check, please, the file /etc/hosts and make sure you have the following line added there:
# vi /etc/hosts
127.0.0.1 localhost localhost.localdomain
 
Hi,
I have this config after the upgrade:
cat /etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
::1 localhost6.localdomain6 localhost6
127.0.0.1 localhost.localdomain localhost

Do you have any suggest?

Thanks!
 
Hi,
I have this config after the upgrade:
cat /etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
::1 localhost6.localdomain6 localhost6
127.0.0.1 localhost.localdomain localhost

Do you have any suggest?

Thanks!

P.D.:

[root@ns ~]$ nslookup localhost
Server: 174.AAA.173.CC (A & C are numbers...)
Address: 174.AAA.173.CC#53

** server can't find localhost: NXDOMAIN
 
localhost should not resolve actually.

why do you need this? what is the initial problem?
 
Back
Top