Skip to main content
短.be

Subdomain

A prefix added before the main domain name, used to organize different sections or services of a website.

Oct 27, 2025 · About 1 min read

SEO

A subdomain is a string added before the main (root) domain, separated by a dot. In "blog.example.com," "blog" is the subdomain. Once you own a domain, you can create unlimited subdomains at no additional cost.

Common uses for subdomains include separating website functions: "www.example.com" for the main site, "blog.example.com" for the blog, "shop.example.com" for e-commerce, and "api.example.com" for API endpoints. Google uses this pattern extensively with "mail.google.com," "drive.google.com," and "docs.google.com."

From an SEO perspective, the subdomain vs. subdirectory (example.com/blog/) debate has persisted for years. Google's John Mueller has stated that Google can handle both properly, but in practice, subdirectories tend to consolidate domain authority more effectively. For new or smaller sites, subdirectories are generally the safer choice.

Subdomains are commonly used when setting up custom domains for URL shortening services. Creating a subdomain like "link.mycompany.com" or "go.mycompany.com" and pointing it via CNAME record to the shortening service lets you leverage your brand's domain authority while maintaining a dedicated namespace for short links.

Technically, DNS allows independent record configuration for each subdomain. You can host your main site and blog on different servers, or use different CDN providers for each. This flexibility is the subdomain's greatest strength. Related books are available on Amazon.

Share on XHatena

Was this article helpful?

Related Terms

Related Articles

FAQ

Are subdomains free to create?
Yes, if you own the domain, you can create subdomains through DNS settings at no additional cost. However, each subdomain may need its own SSL certificate (wildcard certificates can cover all subdomains).
Which is better for SEO: subdomain or subdirectory?
Subdirectories (example.com/blog/) generally consolidate domain authority better and are considered more SEO-friendly. However, subdomains are appropriate when technical constraints or service independence require them.
Is there a character limit for subdomains?
Each label (section between dots) can be up to 63 characters, and the total domain name can be up to 253 characters. In practice, keep subdomains short and memorable.

Ready to create a short URL?

Shorten a URL for Free