# Subdomain

URL: https://portfolio.wrxstack.com/glossary/subdomain

A subdomain is a domain name that sits beneath a larger domain, written as a prefix before it, such as www.example.com or blog.example.com, and can point to its own website or service independently of the parent.

Subdomains let one registered domain host several separate things. The owner of example.com can point the main name at a company site, blog.example.com at a blog platform, and portfolio.example.com at a portfolio host, each with its own DNS records.

Subdomains are usually connected with a CNAME record that names the host. You do not need to register them separately; anyone who controls the parent domain DNS can create them.

Search engines generally treat a subdomain as a site of its own for many purposes, so pick the structure that makes sense for visitors and keep each part consistent.

## Is www a subdomain?

Technically, yes. www.example.com is a subdomain of example.com, and many sites point both names at the same place, with one redirecting to the other.

## Do subdomains cost extra?

Registrars do not charge for subdomains of a name you own. A host or platform may limit how many names you can connect, depending on your plan.
