Buyer guides
Domains and web hosting: a beginner's guide
The most confusing part of a first website is how the domain, DNS, hosting and SSL fit together, and where to buy each one. This guide uses one simple model to explain it, then lists the terms people most often overlook.
A simple model
- The domain is your street address, such as yourbrand.com, rented yearly from a registrar.
- DNS is the address book. It tells visitors which server the address points to (A/AAAA records) and where mail goes (MX records).
- Hosting is the building where your site's files and code live.
- The SSL/TLS certificate is the lock. It gives you https and encrypts traffic.
One company can provide all four, or you can split them: the domain at registrar A, DNS at service B, the site on host C. Splitting them is more flexible, because changing host only means editing DNS records.
Choosing a domain
The name itself
- Keep it short, easy to spell and hard to confuse. Avoid hyphens and digits people mistype.
- Search trademark databases before registering, so you do not clash with someone else's mark.
- For a global audience, .com is the safe default. A country-code domain suits a single country, but some of them require local residency or a local entity.
Registrar terms
- Renewal price: $1 first years are common, but renewals are the real long-term cost.
- WHOIS privacy: is it included for free?
- Transfers: under ICANN's transfer policy, a generic TLD usually cannot be transferred out within 60 days of registration or a transfer in. Moving out needs an authorization code.
- Security: turn on two-factor authentication and the registrar lock, and register with an email address you will control long term.
- Auto-renew: an expired domain goes through grace and redemption periods. Redemption can cost far more than a normal renewal, and a domain left expired too long can be registered by someone else.
Choosing hosting
| Type | Pros | Cons | Best for |
|---|---|---|---|
| Shared hosting | Cheap, control panel, one-click installs | Shared resources, noisy neighbors, many limits | Blogs, brochure sites |
| Managed WordPress | Automatic updates, caching, backups | Costs more, some plugins restricted | Content sites and small stores that do not want to manage servers |
| VPS / cloud server | Full control, scalable | You handle security yourself | Technical users and custom needs |
| Static hosting + CDN | Fast, reliable, often free tiers | Static content only | Landing pages, docs sites |
| Hosted site / store builders | Hosting, templates and payments in one | Monthly fees, harder to migrate | Sellers who want to launch fast |
If you need a VPS, see how to choose a VPS.
Hosting fine print
- "Unlimited" storage or bandwidth is usually subject to fair use. The real limits are on CPU, memory, processes and file counts (inodes).
- Free SSL: many hosts integrate free Let's Encrypt certificates. These have short lifetimes, so make sure renewal is automatic.
- Backup frequency, retention and the restore process, and whether any of these cost extra.
- Data center location, and whether a CDN is easy to add.
- The refund window and renewal pricing.
Pre-launch checklist
- Turn on privacy, 2FA, the registrar lock and auto-renew for the domain.
- Point A/AAAA records at your host, and redirect between www and the bare domain.
- Check that SSL is active and that http redirects to https.
- Schedule backups and actually test a restore.
- For business email, set up MX, SPF, DKIM and DMARC; see SPF, DKIM and DMARC basics.
- Publish basic pages such as a privacy policy and contact details.
Compliance note
Sites hosted on servers in mainland China need an ICP filing first. Hong Kong and overseas hosting generally do not. Wherever you host, follow local law and the host's acceptable use policy. Compare providers in the domains and hosting channel.