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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
07-13-2001, 12:07 AM
|
#1
|
LQ Newbie
Registered: Jun 2001
Location: IL
Distribution: Red Hat Linux 7.1
Posts: 21
Rep:
|
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?
|
|
|
07-13-2001, 04:17 AM
|
#2
|
Senior Member
Registered: May 2001
Location: Bristol, UK
Distribution: Slackware, Fedora, RHES
Posts: 2,243
Rep:
|
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...
|
|
|
07-13-2001, 11:40 AM
|
#3
|
LQ Newbie
Registered: Jun 2001
Location: IL
Distribution: Red Hat Linux 7.1
Posts: 21
Original Poster
Rep:
|
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??
|
|
|
07-13-2001, 01:00 PM
|
#4
|
Senior Member
Registered: May 2001
Location: Bristol, UK
Distribution: Slackware, Fedora, RHES
Posts: 2,243
Rep:
|
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...
|
|
|
07-13-2001, 05:40 PM
|
#5
|
LQ Newbie
Registered: Jul 2001
Posts: 16
Rep:
|
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! =)
|
|
|
07-16-2001, 01:26 AM
|
#6
|
LQ Newbie
Registered: Jun 2001
Location: IL
Distribution: Red Hat Linux 7.1
Posts: 21
Original Poster
Rep:
|
How the server is connected
I am connected to the web using a static IP with DSL.
|
|
|
07-16-2001, 05:03 AM
|
#7
|
Senior Member
Registered: May 2001
Location: Bristol, UK
Distribution: Slackware, Fedora, RHES
Posts: 2,243
Rep:
|
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...
|
|
|
07-16-2001, 12:36 PM
|
#8
|
LQ Newbie
Registered: Jun 2001
Location: IL
Distribution: Red Hat Linux 7.1
Posts: 21
Original Poster
Rep:
|
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
|
|
|
07-16-2001, 01:48 PM
|
#9
|
Senior Member
Registered: May 2001
Location: Bristol, UK
Distribution: Slackware, Fedora, RHES
Posts: 2,243
Rep:
|
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...
|
|
|
07-16-2001, 07:29 PM
|
#10
|
LQ Newbie
Registered: Jun 2001
Location: IL
Distribution: Red Hat Linux 7.1
Posts: 21
Original Poster
Rep:
|
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
|
|
|
All times are GMT -5. The time now is 02:08 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|