开发者

what is difference between www vs www1, www2, www3 etc [closed]

Closed. This question is off-topic. It is not currently accepting answers.

Want to improve this question? Update the question so it's on-topic for Stack Overflow.

开发者_如何学JAVA

Closed 12 years ago.

The community reviewed whether to reopen this question 9 months ago and left it closed:

Original close reason(s) were not resolved

Improve this question

Does it mean that user requests directing to the different servers?

I usually see it on websites with high traffic.

for eg:- https://www.tcs.com/

      https://www2.deloitte.com/


This is largely speculative, but generally each of the www'n's is simply a different web server, which a given user has been routed to either manually (for example all images might live on www2, etc.) or by some form of up-stream round robin system or load-balancer, both of which tend to use some component of the end user's IP address or similar to ensure that a user's session will remain on a given server.

Incidentally, more modern implementations will hide the existence of multiple servers behind a single 'www', so that this is less visible/intrusive.


It doesn’t technically mean anything in particular — domains read right-to-left, so for everything to the left of a company’s domain, it’s up to the company what each bit means. (“www”, for example, is just a conventional subdomain for the web site of the company.)

I‘ve no personal experience of what www1, www2 et al are commonly used for in practice. It might well be different servers, although to my mind that’s exposing implementation details at the interface level, and is thus a bad idea.


As an example, PHP's website (at least for documentation) will forward requests to different subdomains. For example, if I go to php.net/echo, I am directed to either us2.php.net or us3.php.net. For the PHP website, it does appear that each subdomain represents a different server, but this is not necessarily the case.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜