LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 07-12-2001, 11:07 PM   #1
george3k
LQ Newbie
 
Registered: Jun 2001
Location: IL
Distribution: Red Hat Linux 7.1
Posts: 21

Rep: Reputation: 15
Apache question


When i try and access my web site via the internet, i type in the web address and hit enter, but the browser just sits there thinking for a bit. Its not the machine that i'm on, but is there a way for the web sites to display more rapidly?
 
Old 07-13-2001, 03:17 AM   #2
jharris
Senior Member
 
Registered: May 2001
Location: Bristol, UK
Distribution: Slackware, Fedora, RHES
Posts: 2,243

Rep: Reputation: 47
How is you machine attached to the web?? Long waits are normally associated with DNS lookups taking a long time. You running your own DNS or using someone elses?

cheers

Jamie...
 
Old 07-13-2001, 10:40 AM   #3
george3k
LQ Newbie
 
Registered: Jun 2001
Location: IL
Distribution: Red Hat Linux 7.1
Posts: 21

Original Poster
Rep: Reputation: 15
Apache

I'm running primarily on IP base right now. i woul dthink that because of that the DNS lookup would be rather quick. is there somethign that i can alter or change in the httpd.conf file or one of the other configure file??
 
Old 07-13-2001, 12:00 PM   #4
jharris
Senior Member
 
Registered: May 2001
Location: Bristol, UK
Distribution: Slackware, Fedora, RHES
Posts: 2,243

Rep: Reputation: 47
If you're only using IP addresses then there is no DNS lookup happening so it can't be that! Describe how your system is connected to the web, that might offer some clues (the server system that is!)

cheers

Jamie...
 
Old 07-13-2001, 04:40 PM   #5
daemorhedron
LQ Newbie
 
Registered: Jul 2001
Posts: 16

Rep: Reputation: 0
I realize that this is not too specific, but it is a good read none the less, and helped me to speed things up significantly, even with php and postgresql.

http://httpd.apache.org/docs/misc/perf-tuning.html

HTH! =)
 
Old 07-16-2001, 12:26 AM   #6
george3k
LQ Newbie
 
Registered: Jun 2001
Location: IL
Distribution: Red Hat Linux 7.1
Posts: 21

Original Poster
Rep: Reputation: 15
How the server is connected

I am connected to the web using a static IP with DSL.
 
Old 07-16-2001, 04:03 AM   #7
jharris
Senior Member
 
Registered: May 2001
Location: Bristol, UK
Distribution: Slackware, Fedora, RHES
Posts: 2,243

Rep: Reputation: 47
Does you Apache setup attempt to log fully qualified domain names and not just IP address? If so then if you do have DNS issues you'll get one hell of a wait on each page you server while Apache attempts to do a reverse lookup on the incomming IP address. What I'd suggest you do is get on the server and use nslookup to see if reverse lookups work.

HTH

Jamie...
 
Old 07-16-2001, 11:36 AM   #8
george3k
LQ Newbie
 
Registered: Jun 2001
Location: IL
Distribution: Red Hat Linux 7.1
Posts: 21

Original Poster
Rep: Reputation: 15
Host lookup

I have the hostlookup in the httpd.conf file set to no. that could be a very well a poss. that what its doing is trying to resolve oncoming IP's and adding them to a log. i tried that nslookup, and it gave me:

Note: nslookup is deprecated and may be removed from future releases. Consider using the `dig' or `host' programs instead. Run nslookup with the `-sil[ent]' option to prevent this message from appearing.
>
>quit
Server: xx.xx.xx.xx
Address: xx.xx.xx.xx#53
>exit

those x's aren't my servers static IP, so could that be what's wrong? if it is, what and/or where can i change to fix that?

~George
 
Old 07-16-2001, 12:48 PM   #9
jharris
Senior Member
 
Registered: May 2001
Location: Bristol, UK
Distribution: Slackware, Fedora, RHES
Posts: 2,243

Rep: Reputation: 47
So nslookup actually returned the wrong IP address for your DNS server? If this was the case then edit /etc/resolve.conf to put the correct addresses in. If it found the name server yet returned the wrong IP addresses for your server and/or the wrong name for your IP addresses then you'll need to look into the setup of the DNS server.

I couldn't get what was going on from you last post - sorry!

Jamie...
 
Old 07-16-2001, 06:29 PM   #10
george3k
LQ Newbie
 
Registered: Jun 2001
Location: IL
Distribution: Red Hat Linux 7.1
Posts: 21

Original Poster
Rep: Reputation: 15
Resolv.conf

In that file is the two IP's for my ISP that give me my static IP. That is under the name server. Under the "search" is the address for my ISP. should those be changed? what would the correct layout be for that file? should i instead of having the name servers set to my ISP name servers should I have them set at my IP?? or should i put my IP in another area??

~George
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Question - (apache?) pylon42 Linux - General 7 03-23-2005 07:55 AM
Apache Question Sideshow Linux - Networking 6 02-13-2004 05:31 PM
another apache question peteABK Linux - Software 8 05-27-2003 02:58 AM
Apache question plisken Linux - Software 1 02-25-2003 02:40 PM
apache question davsingl67 Linux - Newbie 1 12-11-2002 02:04 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 06:17 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration