Search squid archive

Re: Squid and allow multiple hosts

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hey There,

Try couple things:
"ping myHost2.com"
"ping myhost2.com"

and if the above both are fine then try to reload and\or restart squid instance.
"squid -k reconfigure"
for a restart:
"squid -k shutdown"
wait 30 secs and then make sure that squid is down using"
"ps aux |grep squid"
Then startup squid using the basic
"squid" command.
If you do have a start-up script for squid on the OS try to use their restart method such as:
"/etc/init.d/squid restart"

Eliezer

On 16/12/13 17:29, Gianluigi Ruggeri wrote:
Hi all,

I configurated my Squid as tranasparent cache on a visible_host myhost.com

Now I need to make a test:
- I modified my hosts file to redirect browser request myHost2.com to
the same machine (squid + apache)
  But when I try I see this message error:

The requested URL could not be retrieved

________________________________

While trying to retrieve the URL: http://myhost2.com/

The following error was encountered:

Unable to determine IP address from host name for myhost2.com

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 root.

How can I allow this request? This is only a test so I would to pass
the request to my apache. Squid not has to filter the request..






[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux