Dan's Domain SiteStructure: SubdomainsA domain name is a hierarchical series of character strings separated by periods, proceeding from general top-level domains at the right end of the name to specific site names to the left. An important fact to know is that whoever controls a particular domain name can create an unlimited number of domain names that use the original name as a suffix. Thus, the owner of downloadstore.com can create activision.downloadstore.com, interplay.downloadstore.com, etc. (These were actual subdomains of a site I used to work for, though I don't think they exist any more after the site came under different management and was restructured.) This fact isn't fully understood by people who ask "How can I register the domain www.myname.com?" You don't register www.myname.com; rather, you register myname.com with a registrar (formerly Network Solutions had a monopoly on this under the "InterNIC" name, but now it's been opened to competition), and once you have it, are free to create hostnames and subdomains within it, including www.myname.com, and others such as subsite.myname.com, or even multiple-level subdomains like host.group.subsite.myname.com. Note that you do not have to submit any sort of registration to get such subdomains, once you have the original domain, nor do you have to pay a fee to a registry body. It's up to your own system administrator (either on-site if you have a physical server of your own, or at your ISP if that's where your domain is hosted) to set up these subdomains. (If it's with an ISP, they might charge you for the service, but there's no external registration fee like there is for a new domain.) The ability to create subdomains is actually, when you think about it, an awesome degree of power that every domain name owner has, permitting the creation of a vast namespace without the need to get permission from anybody else. It's like owning your own city and being able to put all the streets, houses, parks, and neighborhoods you want in it. People who just use a domain name as an "Internet keyword" to provide a cutesy name for a Web site are letting this vast power go to waste. As a matter of tradition, Web sites usually have the hostname www as the leftmost element in their domain address, but there is no requirement that this be the case; it's possible to use anything else, though that will be more confusing to users. Many sites work with just the base domain name, like http://somewhere.net/, but that isn't always feasible to implement; the base domain might be used for lots of other things, like e-mail, FTP transfers, etc., which might be on different servers, so the www hostname makes it clear that you're accessing the Web server in particular. Anyway, users are used to typing it, so even sites that work without the www prefix should also implement the addresses with www added. This is easy to configure with popular Web servers such as Apache. The commercialization of the net over the last few years has caused a massive demand for domain names. In some cases, the domain names chosen by people, organizations, and companies seem to show either a lack of understanding of the hierarchical naming system or a pandering to a general public ignorant of such things. For instance, there was no need for TV networks to obtain such domains as nbcsports.com and abcnews.com; sports.nbc.com and news.abc.com would have worked fine. (ABC does seem to finally be "getting it"; rather than give their 20/20 show yet another needless domain, they gave it a subdomain, 2020.abcnews.com.) Even the excellent NetMechanic site, which gives good automated advice on problems with your Web site, has an unnecessary domain duplication: their main site is at netmechanic.com, while a secondary site with the "robot" CGI scripts is at netmechanic2.com. These sites appear to be on separate servers hosted by different providers, and maybe they're not even in the same city (I'm not sure), but that still did not necessitate these totally separate domains: they could have used server1.netmechanic.com, server2.netmechanic.com, etc., and still had the different servers halfway around the world from one another if they wanted. Subdomains and their UsesIf your organization is an affiliate, subsidiary, or chapter of a national or international organization, you might ask the headquarters if you can get a subdomain within the organization's domain; if you can, this would save you the InterNIC registration fee (subdomains don't cost anything to register) as well as give your organization an address that indicates its affiliation. For instance, I started a site for the Libertarian Party of Louisiana at www.la.lp.org using a subdomain of the lp.org domain. Lots of people who are unaware of the possibility of subdomains end up getting unnecessary and illogical domains like bigcorp-chicago.com, bigcorp-denver.com, etc., for different offices that could have been designated more logically as chicago.bigcorp.com, denver.bigcorp.com, etc. If you follow this system, you'll make it easier for people to find other chapter or branch sites once they've found one; somebody who's seen www.la.lp.org can figure out that the Libertarian Party of Texas is at www.tx.lp.org. As the "flip-side" of the above, if you're involved in running the national or international headquarters of an organization with lots of chapters and affiliates, why not make subdomains of your organization's domain available to the local groups, and publicize this availability in group communications such as newsletters and e-mail lists? The local webmasters won't know they can get a subdomain for their site unless you tell them, and they'll end up with a crazy-quilt of inconsistent site names including long addresses with tildes (~) within an ISP site as well as various domain names chapters went and got on their own. Isn't it more logical for the Foobar Society to have chapter sites at addresses like miami.foobar.org, austin.foobar.org and poughkeepsie.foobar.org, rather than foobar-miami.org, austin-isp.com/~foobar/, and pokfoobar.com? If there's a "schism" or factional split in an organization's chapter, and one side winds up retaining (or gaining) the status of official affiliate of the national organization, while the other does not have this status (but might keep on trying to conduct activities under the organization name, to the confusion of the public), then the use of logical subdomains becomes even more valuable: only the group that's recognized nationally as the official chapter can have a subdomain of the national domain, and such subdomains can be transferred by national to the winning faction if the affiliation changes. Thus, the public can be assured that the group with such an address is the recognized one, not a pretender to the title. If logical subdomains are not used, you can't tell the players without a scorecard: look, for instance, at the two contending Libertarian Party of Arizona sites, azlp.org and arizonalibertarian.org, and tell me which one is the current recognized affiliate. If one of them were az.lp.org, it would be obvious. And, if your brilliant new e-commerce scheme involves setting up a whole cluster of related sites, why not find one good domain that can be used as the "base" for a whole bunch of subdomains, instead of registering a heap of different domains for your sites? For instance, instead of registering musicstuff.com, carstuff.com, travelstuff.com, etc., get stuff.com, then you can create music.stuff.com, etc. This may be easier said than done now that practically all of the short, meaningful words are already taken, but it's still worth a try. Maybe it's worth paying a cyber-speculator big bucks for a good "suffix domain" if it's the one domain you'll need to set up your whole site family.
A while back, I got a piece of bulk mail on Citibank stationery urging me to use their online credit card account information service. The URL they gave for it used the domain registermyaccount.com. That address in turn redirected to a secure-server page at accountonline.com. Neither of these addresses gives any particular confidence of being officially affiliated with Citibank, and the page is asking me to enter my credit card number. A clever con-man could have sent forged bulk mail sending people to a credit-card-stealing site of his own devising. Or, in an even easier con, he could register a similar address like registeryouraccount.com (still available last I checked) and hope to snare a few suckers who mistype the address. A subdomain of citibank.com would give me much more confidence that it's legitimate. (Incidentally, I notice that this page gets lots of hits from people following search engines using the search string "www.registermyaccount.com" or some variation of this; are there really that many people out there who don't know that the browser's address line is the proper place to type an address you're trying to get to, not a search engine's search form?) Another point against registering zillions of separate domains for every marketing gimmick and temporarily-significant phrase is that it creates a massive problem keeping track of all of them and making sure they're renewed on time. There are many cases of companies and organizations accidentally letting some of their domains lapse and finding that somebody else gets them and puts up pornography or something else embarrassing, when there are still lots of other sites and search engines linking to the address. Also, when an organization registers lots of names of a predictable format, like OurSite123.com, OurSite124.com, etc., that tends to encourage cybersquatters to grab other names of the same format that you didn't get yet. Subdomains, on the other hand, don't have to be renewed and can't be cybersquatted on. One more thing to note is that, if you use cookies in your site (as often done to track session status, keep online store shopping carts, etc.), they only work within one domain. For security and privacy purposes, browsers will not transmit cookies to any site in a different domain from the one that set the cookie. They can be shared across subdomains and hosts within a domain, but not from one domain to another. (To share a cookie between subdomains, like sub1.mydomain.com and sub2.mydomain.com, you must be sure to specify a domain of .mydomain.com when setting the cookie, rather than letting it default to the current host, in which case it wouldn't share with any other subdomain, even within the same domain.) This provides yet another reason to use logically structured subdomains instead of different domains for your different sites, if you have any desire to share common shopping carts or session status between the sites via cookies. Can a particular TLD limit domain owners' rights to create subdomains?I didn't think so, but I recently noticed that the .tv domain has in its terms of service a provision prohibiting anybody from providing subdomains to any other party -- if you have the domain that.tv, you're not supposed to let anybody else put up a site at this.that.tv. This seems to be contrary to the rules of RFC 1591, which state "There are no requirements on subdomains of top-level domains beyond the requirements on higher-level domains themselves. That is, the requirements in this memo are applied recursively. In particular, all subdomains shall be allowed to operate their own domain name servers, providing in them whatever information the subdomain manager sees fit (as long as it is true and correct)." In other words, once a domain at any level is assigned, the entity who has been assigned the domain has complete power over deciding policy regarding who can get a domain beneath it at the next level. That's how the hierarchical domain name system was designed. That .tv sees fit to limit what you can do with a domain once you get it is a good reason to avoid this domain. Can a subdomain be cybersquatting?Domain conflicts have usually been regarding registrations of second-level names within top-level domains. There have rarely been conflicts that have reached the courts regarding subdomains that are not directly registered with a registrar or registry. Dispute policies such as the UDRP don't reach these disputes. However, there have been a few occasions where somebody has alleged that a subdomain name is an infringement of some form of intellectual property rights. One case, Jews for Jesus v. Google, filed in late 2005, alleges that a Blogspot subdomain (available free to users of its blogging service) violates the trademark of Jews for Jesus. The blog in question is at jewsforjesus.blogspot.com, and it got very little traffic until the lawsuit made it notable. Interesting issues in this case include whether a third-level subdomain such as this can be an infringement in the first place, as well as whether any liability for such infringement belongs only to the blogger who chose the name or to Google, which owns the Blogger service. See some commentary in the CircleID site. Don't know how to set up subdomains?Among the common questions I get by e-mail are from people who have read this article and want to know how they can set up subdomains in their own domain themselves, and have them go to different Web sites. Unfortunately, I can't give a quick and easy answer, since it depends on where their domain is hosted and who provides DNS (Domain Name Service) for it. If your domain's DNS is set up on your own server, of which you have configuration control, then you'll have to set up the subdomain yourself in the DNS host configuration. Exactly how to do this depends on the operating system. If it's a Unix server running BIND, as is common on the Internet, the O'Reilly book DNS and BIND may be helpful. [Buy it at Amazon.com!] Then you'll have to configure your web server software to recognize the virtual subdomains and serve different Web sites; if it's Apache, then this is done in the httpd.conf file; see apache.org for documentation. If, as is more common these days, your DNS and web server are not under your direct control but are at an ISP, hosting provider, domain registrar, or domain parking/redirecting service, then you'll have to get the subdomain set up with your provider. Some providers give you a Web interface for setting up subdomains and pointing them at different Web sites; my own provider, DreamHost does. If you're looking for a provider, they're a good choice. But if yours doesn't have that feature on its Web panel, they might still set up a subdomain for you if you call or e-mail them and ask them. If your domain is on a free parking service, the available features are likely to be a lot more limited. If you wish to have a subdomain pointing at a different server entirely, for instance to give an address to the separately-hosted site of a chapter or subsidiary, then the configuration needs get more complex, with the appropriate setup needing to be done both at the host of the parent domain and the host of the subdomain. This is unlikely to be directly available in a provider's Web panel functions, so it will probably require contacting tech support at the respective providers (and might entail a setup fee). Links
Back to the Structure section
This page was first created 14 Mar 2001, and was last modified 01 Apr 2006.
|