Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Www1 vs www2 vs www3 etc
2 points by amrithk on June 6, 2008 | hide | past | favorite | 2 comments
I am trying to familiarize myself about various techniques that are used to scale websites.

I found an excellent resource from Sitepoint (http://www.sitepoint.com/article/affordable-scalable-websites) that introduces the topic to a newbie.

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.

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?



you don't "register" subdomains, you just make sure that they are in DNS.

You setup your load balancer with the names of all of your hosts and it will direct traffic to the appropriate one.


Sorry. This may be a really dumb question....but how do you make sure they are in DNS?




Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: