Subdomain

Find out about subdomains, and what they are used for on the internet.

1027 views

Edited: 2017-12-19 15:31

A subdomain is located before the actual domain name, subdomain.example.com. Basically a subdomain is hosted on its parent domain (in this case example.com). The domain itself is a subdomain of the TLD it belongs to (such as COM, NET, or ORG).

A good example of a subdomain would be the www part of a domain name (www.example.com). Technically, we can either choose to include it or not include it. If someone chooses to include it, it will often be for marketing purposes.

See also: WWW or non-WWW

Purpose of Subdomains

Subdomains have served a variety of purposes over the years, a main purpose is the hosting of different services, and this remain one of their uses even today.

Some websites use the www subdomain when hosting their website, while others use the bare domain (I.e. mydomain.com). Some websites might also use subdomains to host multiple versions of their website, such as an English version on the en, and a Danish version on the da subdomain.

How subdomains works

A Subdomain is the first part of the URL, found before the parent domain.

http://MySubdomain.beamtic.com

Tell us what you think:

  1. An in-dept look at the use of headings (h1-h6) and sections in HTML pages.
  2. Pagination can be a confusing thing to get right both practically and programmatically. I have put a lot of thought into this subject, and here I am giving you a few of the ideas I have been working with.
  3. The best way to deal with a trailing question mark is probably just to make it a bad request, because it is a very odd thing to find in a request URL.
  4. How to optimize image-loading and automatically include width and height attributes on img elements with PHP.
  5. HTTP headers are not case-sensitive, so we are free to convert them to all-lowercase in our applications.

More in: Web development