Subdomain Configuration - How To Setup A Sub Domain - WebsiteGear
Subdomain ConfigurationA subdomain configuration is extremely correspond to to a bailiwick honour configuration. The no greater than modification is that the subdomain listing is tied to the corresponding bailiwick honour lookup. A application as regards the subdomain (e.g. http://content.websitegear.com) will-power be routed to a DNS server containing the DNS front-page news as regards the facetiousmater bailiwick (websitegear.com). Once the DNS album as regards the subdomain is resolved to a persnickety IP line, the application is sent to the snare server listening on that IP line. Various combinations of subdomain configurations are advantageous during using DNS server entries and snare server applicableness setup as regards consignment circulation, applicableness isolation or deposit purposes.
The snare server can contemporary transmittal the application to the persnickety website based on the subdomain honour in the act header of the application focus. Subdomain Setup on DNS serverThe encourage lookup sphere of the facetiousmater bailiwick in the DNS server should strangle a baton to the sub bailiwick using either an alias (CNAME), a hostname (A) or a prance enchanger (MX) listing. The alias (CNAME) album is employed as regards a subdomain if the subdomain points to a website on-going on the having said that snare server at the having said that IP line as the facetiousmater bailiwick website. A imaginative hostname (A) album is employed if the subdomain points to a imaginative snare server, or to the having said that snare server listening on a imaginative IP line (as in the container of consignment distribution). The canonical names (CNAMES) are added as regards each of the subdomains as shown subordinate to. predominantly depreciative predominantly depreciative predominantly depreciative predominantly depreciative predominantly depreciative predominantly depreciative predominantly depreciative predominantly depreciative predominantly depreciative predominantly depreciative predominantly Alias (CNAME) Setup: An alias points the subdomain to the having said that snare server, which hosts the website as regards the facetiousmater bailiwick. Once the subdomain is resolved to the IP line of the snare server, the snare server can itinerary the application to a imaginative website (see split on snare server setup below).
Note that an alias as regards www is setup as a subdomain during non-fulfilment during most hosting companies, so that requests to www.domain.com is sent to the having said that website that handles the requests as regards bailiwick.com. www predominantly depreciative predominantly depreciative predominantly depreciative predominantly depreciative predominantly depreciative predominantly IN predominantly CNAME predominantly depreciative bailiwick.com. subdomain2 predominantly depreciative predominantly depreciative IN predominantly CNAME predominantly depreciative bailiwick.com. subdomain1 predominantly depreciative predominantly depreciative IN predominantly CNAME predominantly depreciative bailiwick.com. Address (A) Record Setup: A hostname DNS listing is required if the subdomain is pointing to a imaginative IP line than that hackneyed as regards the bailiwick honour.
Add the line (A) records to the encourage lookup sphere of the facetiousmater bailiwick and associate the line records with the IP addresses of the snare servers, which will-power direct the requests as regards the subdomain. subdomain1 predominantly depreciative IN predominantly A predominantly depreciative 123.2.33.45. Mail Exchanger (MX) Setup: The prance exchanger subdomain configuration is required if an email server is setup to direct the subdomain prance accounts. subdomain2 predominantly depreciative IN predominantly A predominantly depreciative 123.2.33.46. For illustration, an email line like joe@arts.myschool.edu will-power instruct a subdomain setup as regards resolving the prance server as regards arts.myschool.edu.
The setup is correspond to to the CNAME setup but with MX records. subdomain1 predominantly depreciative predominantly IN predominantly MX predominantly 10 predominantly subdomain1.domain.com. Note: If the sub-domain is configured on another DNS honour server, a Name Server (NS) album has to be created as regards the sub-domain on the corresponding bailiwick honour DNS server, so that it can transmittal the sub-domain lookup to the other honour servers.
subdomain2 predominantly depreciative predominantly IN predominantly MX predominantly 10 predominantly subdomain2.domain.com. Using imaginative honour servers can assassinate deposit issues in cases where the sub-domains are maintained during detach administrators. However, the lookup carries an additional skyward.