What is a subdomain and give an example?

Study with Khan Academy's The Internet Test. Prepare with dynamic questions, interactive hints, and detailed explanations. Ace your exam confidently!

Multiple Choice

What is a subdomain and give an example?

Explanation:
A subdomain is a smaller domain that sits under a larger one in the domain name system. It’s created by adding a label on the left side of the main domain, forming a name like blog.example.com. Here, blog is the subdomain, example.com is the main domain, and .com is the top-level domain. Subdomains are useful for organizing different parts of a site or service under the same domain—for example, a blog on blog.example.com can be managed separately from the main site while still belonging to the same domain. DNS records can direct the subdomain to a specific server or IP, using A or CNAME records. This isn’t a completely separate domain on a different TLD, it isn’t the root domain, and it isn’t an IP address.

A subdomain is a smaller domain that sits under a larger one in the domain name system. It’s created by adding a label on the left side of the main domain, forming a name like blog.example.com. Here, blog is the subdomain, example.com is the main domain, and .com is the top-level domain. Subdomains are useful for organizing different parts of a site or service under the same domain—for example, a blog on blog.example.com can be managed separately from the main site while still belonging to the same domain. DNS records can direct the subdomain to a specific server or IP, using A or CNAME records. This isn’t a completely separate domain on a different TLD, it isn’t the root domain, and it isn’t an IP address.

Subscribe

Get the latest from Passetra

You can unsubscribe at any time. Read our privacy policy