1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

Issue - localhost doesn't resolve

Discussion in 'Plesk 9.x for Linux Issues, Fixes, How-To' started by crnunez, Dec 24, 2008.

  1. crnunez

    crnunez Regular Pleskian

    25
    90%
    Joined:
    May 24, 2006
    Messages:
    124
    Likes Received:
    0
    Hello;
    What is the solution for this terrible issue with localhost?

    Thanks in advance.

    CentOS 5.2
    Plesk 9.0
     
  2. Satoriya

    Satoriya Guest

    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
     
  3. crnunez

    crnunez Regular Pleskian

    25
    90%
    Joined:
    May 24, 2006
    Messages:
    124
    Likes Received:
    0
    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!
     
  4. crnunez

    crnunez Regular Pleskian

    25
    90%
    Joined:
    May 24, 2006
    Messages:
    124
    Likes Received:
    0
    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
     
  5. crnunez

    crnunez Regular Pleskian

    25
    90%
    Joined:
    May 24, 2006
    Messages:
    124
    Likes Received:
    0
    Can someone any tips? thx
     
  6. gorilych

    gorilych Guest

    0
     
    localhost should not resolve actually.

    why do you need this? what is the initial problem?
     
Loading...