Linux Forums - Linux Help,Advice & support community:LinuxSolved.com

Network Troublshooting => Linux Servers Support => Topic started by: mfaisalkh on August 05, 2004, 03:40:42 PM

Title: Squid Problem
Post by: mfaisalkh on August 05, 2004, 03:40:42 PM
Dear Users,

My squid, DNS,Apache running on same machine.

Hostname=server
Ip: 192.168.0.1

Site Hosted:

www.example.com
www.site.com
www.mysite.com

When i put (192.168.0.1:8080)on browser, its does not open the above mentioned sites that host on localserver, but when i put (192.168.0.1:80)
on the same browser its open the both sites.

what its the solution of this problem?
Title: Squid Problem
Post by: Ricky on August 05, 2004, 04:02:49 PM
wht do u mean when you say it opens both sites ? btw.. what is squid port you have set to be used ? ie on what port squid is listening ?
Title: Squid Problem
Post by: mfaisalkh on August 05, 2004, 04:25:16 PM
squid port is 8080

apache listen port is 80
Title: Squid Problem
Post by: Ricky on August 06, 2004, 03:03:13 AM
so when you do 192.168.0.1:8080 it means you are trying to open webs from your squid . Well it won't open as squid will query nameservers outside the LAN and there it can't have dns entry for your local test sites.

and when you do 192.168.0.1:80 then it is directly opening through apache so no squid intervention here.
Title: Squid Problem
Post by: mfaisalkh on August 06, 2004, 12:21:36 PM
wat can i do in Squid or Apache to solved this problem.

coz

my clients used 192.168.0.1:8080 in browser to access internet

so i want my clients used the same proxy for local sites.