Ok, I am a n00b at web applications, databases, servers etc. However, I have been trying to learn by going through questions in stackoverflow and also everywhere else on the web. I have two related questions here.
My first question is, I often read about people using multiple dedicated servers to run their websites, and process queries from users. But how do they exactly do this? I mean, when I enter a domain name, a DNS resolves maps that to an IP address, but I am lost after that.. is there some kind of master/slave architecture there to load balance incoming requests amongst the (potentially) hundreds of servers?
If that's the case, how do the various servers, share data (database for e.g.)? Will they be connected to the same hard disk?