Click to See Complete Forum and Search --> : How I did it with Apache


Grommer
06-07-2003, 12:51 PM
To start off, I'm using RH 9 and have to say I never realized how powerful of an OS this thing really is. I wanted to see if I could setup Apache and host a website (or 5), I installed RH 9 with all the server stuff, figured out what I needed to do to edit the httpd.conf file to get apache working right. I have to say I've honestly spent the last 4 days figuring out what the problem was. Everything was pointing in the right direction without a doubt. Then something hit me...I was looking at the htm files, and noticed that it was in UPPER CASE, I then realized that upper case Index files werent set in Apache. So, needless to say, I'm kicking my self in the *** right now!. Word of advice, pay attention to the small things, because sometimes it's not a big of a problem as you might think. Next, I'm going to setup FTP so my wife can upload all of her web stuff and have the site hosted off of here. Then, onto mail, and then last but not least, DNS. So I wanna give a huge shout out to everyone here that's ever offered help to newbs!! And thanks to everyone who's offered help, and to all the other newbs out there, DONT GIVE UP! Stick with it and eventually you'll get it figured out.

P.S any leads on where to get goin on the FTP, and DNS would be greatly appreciated! thanks again!

madcompnerd
06-10-2003, 09:41 PM
I got a question if anyone knows. When you setup DNS in RH for example, does it download the full db of names and ip's, or does it resolve each ip when it's needed. Because if the former is true I can see it providing a small speed boost in internet browsing, but if it's the latter there would be a lot of complaints about google being really slow.

Hayl
06-10-2003, 09:50 PM
Originally posted by madcompnerd
I got a question if anyone knows. When you setup DNS in RH for example, does it download the full db of names and ip's, or does it resolve each ip when it's needed. Because if the former is true I can see it providing a small speed boost in internet browsing, but if it's the latter there would be a lot of complaints about google being really slow.

not unless it's a "real" DNS server - which your isp 99.9% likely will not allow you to run.

i have a dns server here for local name resolution and for anything else it just forwards the request to my isp's dns servers.

however, in general dns name resolution works like mail routing. workstation A asks DNS Server 1 if it knows where justlinux.com is. DNS Server 1 says no I don't but DNS Server 56 does. When DNS Server 56 is checked, it says I don't know but DNS Server 32 does. DNS Server 32 returns the result. NOTE This is an EXTREMELY oversimplified example.

madcompnerd
06-10-2003, 09:56 PM
This is probly a dumb question but, with modern databasing and huge storage media why not just put all the names and ip's onto one machine(and make each ISP have it's own similar machine)? I suppose names are often changed, but it takes as much as a day as it is. I would think it would be faster, but maybe it'd be unmaintanable or too dependant on a centralized server for a master list.
I just know it'd be friggin nice to have 10millisecond responses when you go to resolve a domain name.

FyberOptyx
06-13-2003, 06:54 PM
Your DNS has a cache which it looks at 1st, so if you recently visited a site it can't get any quicker than looking there.