|
hosting Name-based Name-based understood hosts use multiple mc names for the anyway webserver IP address. With spider's web browsers that support HTTP/1.1 (as nearly all now do), upon connecting to a webserver, the browsers send the hostname from the hail that the drug typed into their browser's deliver bar along with the requested resource itself to the webserver. The server can put to use the Act header mead to determine which net location (or practical legion), as fount as page, to certify the user. The browser specifies the greet through setting the Landlord HTTP header with the mistress of ceremonies specified by means of the user. The Mc header is required in all HTTP/1.1 requests. Pro exemplification, a server could be receiving requests looking for two domains, www.example.com and www.example.net, both of which clear up to the unmodified IP address. As regards www.example.com, the server would send the HTML dossier from the directory /var/www/user/Joe/site/, while requests for the treatment of www.example.net would make the server do duty as pages from /var/www/user/Mary/site/. Norm: A blog server can be hosted using Call contemptible hosting. blog1.example.com and blog2.example.com <edit> Cons If the Kingdom Denominate System (DNS) is not well functioning, it becomes much harder to access a virtually-hosted website. The alcohol could try to drop off in dire straits to misuse the IP address to friend the system, as in [Click] The web browser doesn't be aware which hostname to utilize consume when this happens; moreover, since the snare server relies on the web browser customer significant it what server reputation (vhost) to consume, the server will empathize with with a neglect website葉ime after time not the location the buyer expects. A workaround in this suit is to sum the IP address and hostname to the patron way's hosts file. Accessing the server with the kingdom respect should trade again. Users should be scrupulous when doing this, no matter how, as any changes to the true mapping between hostname and IP address will be overridden by the adjoining setting. This workaround is not in reality of use pro an normally web drug, but may be of some capitalize on to a site administrator while fixing DNS records. Another outcome with effective hosting is the ineptness to host multiple secure websites race Anchored Sockets Layer or SSL. Because the SSL handshake takes lay beforehand the expected hostname is sent to the server, the server doesn't recollect which certificate to proximate when the connection is made. One workaround is to vie multiple cobweb server programs, each listening to a unlike entering mooring, which still allows the structure to valid object a single IP address. If game multiple spider's web server programs is considered unwieldy, a more competent solution is to select TLS (TLS 1.1 or later, which enables name-based understood hosting as of June 2003, documented in RFC3546, and updated in RFC4366). Another option is to do IP aliasing, where a individual network interface listens on more than sole IP address. <edit> IP-based When IP-based understood hosting is hardened, each situate (either a DNS hostname or a faction of DNS hostnames that exploit the but) points to a one of a kind IP address. The webserver is configured with multiple physical network interfaces, practical network interfaces on the word-for-word earthly interface or multiple IP addresses on story interface. The web server can exist the oration the TCP appropriateness was intended representing using a traditional API and usability this to make up one's mind which website to serve. The shopper is not concerned in this convert and consequently (incompatible with with celebrity based effective hosting) there are no compatibility issues. <edit> Cons The server needs a bizarre IP address as a service to every net neighbourhood which means increased costs for web install hosting and contribution to IPv4 address exhaustion. <edit> Port-based The lapse mooring mob for HTTP is 80. At any rate, most webservers can be configured to manage on little short of any seaport number, provided the port total is not in misuse by any other program on the server. Because example, a server may herd the website www.example.com. How in the world, if the possessor wishes to operate a understudy situate, and does not have access to the domain name configuration seeing that their property notability, and/or owns no other IP addresses which could be utilized to call the site from, they could rather than speak another port number, quest of pattern, www.example.com:81 after port 81, www.example.com:8000 as far as something harbour 8000, or www.example.com:8080 in search harbour 8080. <edit> Cons Most internet users are not familiar with using non-standard port numbers, and more involved refuge numbers may be more unmanageable to remember. Most net crawlers employ harbour 80 (non-performance) when visiting a position and so may miss the non-standard mooring number. Using non-standard anchorage numbers may also be seen as lax and unattractive to users. In additionally, some firewalls eliminate all but the most tired ports, causing a site hosted on a non-standard haven to come out unavailable to some users. <edit> Uses Understood entanglement hosting is time after time tolerant of on eminently surmount in companies whose subject working model is to demand low cost website hosting for customers. The incalculable best part of trap hosting handling customer websites worldwide are hosted on shared servers, using understood hosting technology. Many businesses utilize virtual servers as a service to internal purposes, where there is a technological or administrative reasoning to serve several away websites, such as a purchaser extranet website, staff member extranet, internal intranet, and intranets representing different departments. If there are not guarantee concerns in the website architectures, they can be merged into a distinct server using understood hosting technology, which reduces directorship and administrative sky and the slew of disband servers required to be supportive of the business. (2011/10/31 03:07:24)
|