Learn Subdomains End to End
SubDoms is a hands-on reference for creating, pointing and securing subdomains on any DNS host. Whether you are adding blog. for a hosted platform, shop. for an e-commerce service, app. for your own server or staging. for testing, the same mechanics apply: a record in a DNS zone, a way to check that the world can see it, a certificate so browsers trust it and a plan for what happens when it is no longer needed. This hub arranges the site's guides into six modules that follow that life cycle.
Every guide is provider-neutral. Records are shown as tables of type, name, value and TTL, so you can enter them in any DNS panel, and examples use the reserved documentation domain example.com and documentation IP ranges rather than real addresses.
Two long guides to start with
- Launching a subdomain, from zero to live: the whole sequence for one new subdomain, from choosing the record type to verifying it and issuing a certificate.
- Preventing subdomain takeover: how dangling DNS records let someone else serve content on your domain, and the habits that stop it.
How the modules are ordered
The modules follow a subdomain's life. Module 1 explains the concepts; modules 2 and 3 cover creating a record and proving it works; module 4 adds HTTPS; module 5 covers the risks that grow as the number of subdomains grows; and module 6 is about running many subdomains over years without losing track of them. If you only need to get one subdomain working today, read the launch guide above and dip into modules 2 and 3 as questions come up. If you are responsible for a domain with dozens of subdomains, start with module 5.
What this site does not cover
SubDoms deals with the mechanics of subdomains once you own a domain. It does not compare registrars, discuss registration limits or prices, or recommend a particular DNS provider; the steps are written so they work on any reputable host. Where a choice affects search engines, such as hosting a blog on a subdomain or in a subfolder, the guides explain the trade-offs that are generally understood and avoid promising ranking outcomes, which depend on far more than the shape of a URL.
A note on safety: several guides discuss how subdomains can be abused, because understanding the risk is the best defence. They are written for the people who own and manage a zone, and every example uses reserved names that belong to nobody.
Module 1: Subdomain basics
An eight-part introduction for anyone who has never edited a DNS zone. It explains what a subdomain is, how a resolver finds one, the record types you will meet and how email and search engines treat subdomains.
- What a subdomain is
- How DNS finds a subdomain
- The DNS records you will use
- Pointing a subdomain at a service
- Email and subdomains
- Subdomains and search engines
- The complete guide to subdomains
Module 2: Records and pointing
The practical core: choosing between an A or AAAA record and a CNAME, connecting hosted shops and SaaS tools, pointing at your own server, redirecting and deciding whether to delegate a subdomain to a separate DNS provider.
- CNAME versus A record for a subdomain
- Adding a CNAME for a hosted shop subdomain
- Pointing a subdomain at your own server
- Connecting a custom subdomain to a SaaS tool
- Redirecting a subdomain to another address
- IPv6 and AAAA records
- Delegating a subdomain versus keeping it in the zone
- Wildcard DNS records
Module 3: Propagation and checking
After a change, the question is always "is it live yet?". This module explains what propagation really means, how TTLs control caching and how to check records yourself with dig or nslookup instead of guessing.
- DNS propagation explained, without the myths
- TTL do's and don'ts when changing subdomains
- The TTL propagation estimator
- Seven tips for checking DNS with dig
- Following a lookup with dig +trace
- Self-check: why is this subdomain not working?
Module 4: HTTPS for subdomains
Every public subdomain needs a certificate. This module compares wildcard and multi-name (SAN) certificates, explains ACME validation methods including DNS-01 and covers CAA records that restrict which authorities may issue for your names.
- HTTPS for subdomains: the basics
- Wildcard versus SAN certificates
- Issuing a wildcard certificate with DNS-01
- Delegating _acme-challenge for safer automation
- Setting up CAA records
- HTTPS certificates for subdomains: Q&A
Module 5: Security and takeover
Subdomains multiply, and forgotten ones become risks. This module covers takeover through dangling records, safe naming, securing staging environments and protecting email sent from subdomains.
- Keeping your subdomains safe
- Self-check: is this subdomain at risk of takeover?
- Do's and don'ts for securing subdomains
- Setting up a staging subdomain safely
- Is this subdomain's email set up safely?
- Retiring a subdomain safely
Module 6: Operations at scale
Finally, the habits that keep many subdomains manageable: a register of who owns what, audits, DNS managed as code and monitoring for expiring certificates and changed records.
- Putting a subdomain register into practice
- A subdomain audit for a small business
- Scenario: cleaning up forty forgotten subdomains
- DNS as code for your subdomains
- Certificate and DNS monitoring
- Migrating DNS to a new provider
The DNS record builder drafts records in a consistent format, the glossary defines terms such as apex, delegation and TTL, and the site index lists every guide.
Three cards for questions DNS alone cannot answer
These cards deal with questions that reach the edge of what DNS does: sending a name to a port or path, stacking subdomains several levels deep, and the certificate warnings that appear when a new name goes live.
- Can a subdomain point to a port or a URL path?: why records cannot, and how reverse proxies and redirects do it instead.
- Multi-level subdomains: length limits, records and delegation at each level, and the one-label wildcard rule.
- Why a subdomain shows a certificate error: SAN matching, SNI fallbacks and how to check what the server presents.
How every record example and explanation is sourced is set out in our editorial standards.