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
-
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?
-
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 ?
-
squid port is 8080
apache listen port is 80
-
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.
-
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.