how web pages stored at server end?

I want to know How a Web server is working on server side that is when i give http://www.yahoo.com and http://mail.yahoo.com is both web addresses resided on same computer in server end. How web pages are stored in server that is their hierarchy?are they located in single directory on same PC or different PC as their domain names? Is both yahoo addresses have same IP or Different IP assigned to them?
LVL 1
panemadeAsked:
Who is Participating?
 
humeniukCommented:
Being such busy sites, I'm sure they are both located on several servers each (for the sake of load balancing, backup, etc.).  www.yahoo.com and mail.yahoo.com have different IP addresses, but if you ping www.yahoo.com a few times, you'll see that it has multiple IPs itself - 216.109.118.75 / 66.94.230.39 / 216.109.118.75 being three that I got.  Presumably, these servers are located in different places, too.  Given that both sites are spread out over multiple servers, I doubt there are any cases where you have a server hosting both domains.

Most websites don't work this way as they don't have the level of traffic that would justify it.  They'll either run on a single server or a main server and a backup.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.