TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Www1 vs www2 vs www3 etc

2 pointsby amrithkalmost 17 years ago
I am trying to familiarize myself about various techniques that are used to scale websites.<p>I found an excellent resource from Sitepoint (http://www.sitepoint.com/article/affordable-scalable-websites) that introduces the topic to a newbie.<p>In the article, for one of the solutions, they mention that you can have a www.mysite.com, www2.mysite.com, www3.mysite.com. Users would then connect to any server depending on the load balancing algorithms.<p>My question is, does one register www.mysite.com, www2.mysite.com, www3.mysite.com? How does one direct users to each of these unique URLs (thereby directing them to a server)? Is this done by the load balancer?

1 comment

goofygrinalmost 17 years ago
you don't "register" subdomains, you just make sure that they are in DNS.<p>You setup your load balancer with the names of all of your hosts and it will direct traffic to the appropriate one.
评论 #210914 未加载