Linux Help
guides forums blogs
Home Desktops Distributions ISO Images Logos Newbies Reviews Software Support & Resources Linuxhelp Wiki

Welcome Guest ( Log In | Register )



Advanced DNS Management
New ZoneEdit. New Managment.

FREE DNS Is Back

Sign Up Now
 
Reply to this topicStart new topic
> Apache Slow When Not Viewed At Localhost, Slow page load when not accessed f/host
dannyboy259
post May 7 2004, 02:38 PM
Post #1


Whats this Lie-nix Thing?
*

Group: Members
Posts: 1
Joined: 7-May 04
Member No.: 2,904



Hi all,

I've setup an Apache server to run my company's homepage at the office from behind a firewall, with the eventual idea that the outside world will be able to see it as well.

Server Hardware:
RH 9.0
Athlon-Duron 1100
512M RAM

When accessing the pages from the server (through Mozilla), the response is great. When trying to access pages from other desktops in the office, the pages take 10 seconds to load. This just doesn't seem right. The other services that I've got installed are pretty slow too.

On the surface, it looks like it's a network issue. I'm not sure that I've got everything setup correctly. I'm looking for a mentor to help me sort out what I'm seeing while investigating.


I have the following services running on the server:
httpd
samba
sendmail
imap

Network settings from the Gnome/network setup window:
IP (static) 192.168.0.10
Gateway 192.168.0.1
HW nick eth0
Subnet mask 255.255.255.0
DNS; Hostname: Archie
Pri. DNS (copied from firewall/router/DSL box)
Sec. DNS (copied)
DNS search path (blank)
Hosts: 192.168.0.10 archie.nwi-online.com archie

Do I need to add "localhost" and "localhost.localdomain" to the alias's for this machine?

Help ohmy.gif


Thanks,

Dan D
Go to the top of the page
 
+Quote Post
hughesjr
post May 8 2004, 07:44 PM
Post #2


Its GNU/Linuxhelp.net
*******

Group: Admin
Posts: 3,433
Joined: 25-July 03
From: Corpus Chrsiti, TX, USA
Member No.: 1,151



you need a line like this:

127.0.0.1 localhost localhost.localdomain

at the top of the /etc/hosts file.

If you have a local DNS that is inside your domain, use that for name lookups (maybe your router assigns itself as a DNS server to dhcp clients). If you have to do offsite name lookups, your response time will be slower.


--------------------
Johnny Hughes
hughesjr@linuxhelp.net
Enterprise Alternatives: CentOS, WhiteBoxEL
Favorite Workstation Distros (in order): CentOS, Gentoo, Debian Sarge, Ubuntu, Mandrake, FedoraCore, Slackware, SUSE
Favorite Server Distros (in order): CentOS, WhiteBoxEL, Debian Sarge, Slackware, Mandrake, FedoraCore, Gentoo, SUSE
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 21st October 2017 - 07:22 AM