let me explain this more in details .. in a previous ans ..".com" was said to be the top-level domain which is wrong.. "www." is a prefix which means world wide web and .com is the type of domain.. eg. ".gov" stands for government sites. in the following example i will explain what is a sub-domain.. ...
www.sample.com ... "sample" is the main domain.. There is no-sub domain...
www.hello.sample.com - here the "hello" is the sub domain.
www.one.sample.com - here "one" is the sub domain.
www.sample.two.com - here "two" is a sub domain.
purplefreak3
2008-03-06 17:06:26 UTC
Yes those are sub-domains. Most Sub-domains are page.yourdomain.com but there can be more. Sub-domains are dependant on a main domain www.yourdomain.com
Domains of third or higher level are also known as subdomains, though this term technically applies to a domain of any level, since even a top-level domain is a "subdomain" of the "root" domain (a "zeroth-level" domain that is designated by a dot alone). (See Below)
On the next level are third-level domains. These domains are immediately to the left of a second-level domain. In the en.wikipedia.org example, "en" is a third-level domain. There can be fourth and fifth level domains and so on, with virtually no limitation. An example of a working domain with five levels is www.sos.state.oh.us. Each level is separated by a dot or period symbol between them.
2008-03-06 17:03:08 UTC
A subdomain is a domain that is part of a larger domain. For example, "example.com" is a subdomain of the "com" top-level domain (TLD) while "www.example.com" is a subdomain in the domain "example.com". If we type "www.cnn.com" into the address bar of our browser to visit the CNN website, then we are using what is known as a subdomain. The domain name "mycompany.co.uk" is therefore a "real" domain name, not a subdomain of "co.uk"! (Here, "sales.mycompany.co.uk" would be a subdomain.)
Subdomain -- (sub´´dō-mān´) (n.) Also called a child domain, a domain that is part of a larger domain name in DNS hierarchy. DNS hierarchy consists of the root-level domain at the top, underneath which are the top-level domains, followed by second-level domains and finally subdomains. For example, in the domain name webopedia.internet.com, "webopedia" is a subdomain of the larger second-level domain "internet.com."
Hope this helps.
parrish.photography
2008-03-06 17:15:01 UTC
NO you have to have matching domains names.
For example
www.nikon.com
www.shop.nikon.com
www.nikon.com/lens.html
A sub domain is a child of the parent domain.
Your example is 2 different domain names
.example.com is not the same domain as xample.com
JasperP
2008-03-06 17:13:28 UTC
In your example, .com would be the TLD or top level domain.
example.com would be the domain
tr.example.com would be the subdomain of the example.com domain
yourdomain.tr.example.com would be a subdomain of the tr.example.com subdomain.
So "yourdomain" and "mydomain" would be a subdomain of a subdomain.
I know that in some administrative panels like cPanel, you create subdomains on subdomains.
ⓘ
This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.