Wordpress Blogs - IP Address Assignment
I have this inquisitive doubt of how dedicated IP Addresses are assigned for each and every blog site created using Wordpress. Does WordPress allocate separate servers for every blog (which sounds silly) or do they use any sort of redirecting t开发者_开发知识库echnique?
With an HTTP/1.1 request, the browser sends the hostname (www.example.com) to the webserver in the headers. The server then takes that hostname and routes it to the appropriate configuration for that host.
This results in a single web server, on a single IP address, to host multiple domains.
The way wordpress does it is most likely much more complex, but this should give you an idea of how it's done.
http://en.wikipedia.org/wiki/Virtual_hosting
精彩评论