Squid Error

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • sokoun
    New Member
    • Sep 2007
    • 30

    Squid Error

    Hi all,

    could anybody help me to correct this problem, i used squid 2.6 as transparent proxy. when i browse to that server i got an error:

    The requested URL could not be retrieved

    While trying to retrieve the URL: http://localhost/

    The following error was encountered:

    Unable to determine IP address from host name for localhost

    The dnsserver returned:

    Name Error: The domain name does not exist.

    This means that:

    The cache was not able to resolve the hostname presented in the URL.
    Check if the address is correct.

    Your cache administrator is webmaster.
    Generated Thu, 27 Dec 2007 17:04:11 GMT by localhost.local domain (squid/2.6.STABLE5)

    what can i do to resolve this problem?

    thanks in advance.
  • ashitpro
    Recognized Expert Contributor
    • Aug 2007
    • 542

    #2
    Originally posted by sokoun
    Hi all,

    could anybody help me to correct this problem, i used squid 2.6 as transparent proxy. when i browse to that server i got an error:

    The requested URL could not be retrieved

    While trying to retrieve the URL: http://localhost/

    The following error was encountered:

    Unable to determine IP address from host name for localhost

    The dnsserver returned:

    Name Error: The domain name does not exist.

    This means that:

    The cache was not able to resolve the hostname presented in the URL.
    Check if the address is correct.

    Your cache administrator is webmaster.
    Generated Thu, 27 Dec 2007 17:04:11 GMT by localhost.local domain (squid/2.6.STABLE5)

    what can i do to resolve this problem?

    thanks in advance.
    try your website with
    http://127.0.0.1/
    If it works then you should check your /etc/resolve.conf for DNS configuration.
    Also you need to add "localhost" in your /etc/hostname

    Comment

    Working...