Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Apache server slow on local network traffic only

Status
Not open for further replies.

hallm

Programmer
Jun 11, 2000
159
US
I've just setup a Red Hat 7.3 box running the apache service. It's serving our web pages to the outside world (internet) fine. It's just slow when I try to browse it from any of the computers in the internal network. It seems to have a good bit of delay before the webpage request even hits the server. Is there something I'm doing wrong.

All of my workstations run Win2000 Pro, then I have the one Linux box, all plugged into a 10base hub, crossed over to a Cayman 3220H Router for the internet.

Within the network, I can't browse the static IP of the router. (Cayman said that is normal), so I just browse the internal lan ip of the linux box (which in my case is 192.168.1.9). The pages come up but it just takes about a minute and a half, just for the apache test page that is installed initially.
 
This is just a wild guess, but check httpd.conf and see if you have HostnameLookups On. This will cause apache to try to find the client's name from the dns server. If turned Off, it will just report the ip address.
 
HostnameLookups was already off. I appreciate the response, I think that the problem is something like what you suggested. If anyone has any other ideas, please let me know.
 
Do you have VPN Pass-Through enabled on your router? You should have both PPTP and IPSec enabled. Sometimes if it's not, it will let you browse yourdomain.com but not or the other way around. This may not have anything to do with your problem since you can browse to your site, it just takes a long time. If I understand the problem correctly, your other machines can browse to the outside world at breakneck speed, and likewise, the outside world can browse to your server. The slow down is only on your intranet. This is what is making me think it has something to do with your router. You said you had your hub crossed over to the router. This would be correct if the port you are using for that is NOT an uplink port. Otherwise you would use a patch. Do you get a lot of collisions when browsing to your server? Well as you can see, I'm still taking shots in the dark. Hopefully the "Big Boys" will be here soon to help set us wise. :)
 
I've also got this problem.
I've installed Mambo on LAMPP (xampp)
When I did the configuration-setup from the internet, The internet requests work good and fast.
But when I did the configuration-setup from localpc.... Only the local pc did have a good fast connection, the internet clients got very slowly connection, and not the whole templates from the site. no pictures.. etc.

Maybee my info helps.
I wonder if this problem has been solved for anybody.

greetings and best wishes for 2005
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top