In this lesson
A domain is a name; hosting is rent.
You will see how a site's name works and how much it really costs. At the end, you publish the file from lesson 8 with a padlock, for free.
- Explain domain and hosting
- Know why a change of address takes time and how to speed it up
- Compare costs without falling for the headline price
The domain is the name
DNS, from lesson 3, trades a name for a number. RFC 1034, from 1987, says that names form a tree. You read them from back to front. In example.com.br, br comes first, then com, and finally example, the name you register.
Think of a phone book: the domain is the name in the book, and hosting is the house where the person lives. You can move house without changing your name.
Who looks after .br
The examples here are from Brazil, where .br is the country's domain. Decreto 4.829, a 2003 decree, created CGI.br, which sets the rules. NIC.br carries them out, and Registro.br sells the name to the public. On October 21, 2026, there were 6,028,037 .br domains.
Individuals with a CPF (Brazil's personal taxpayer number) or companies with a CNPJ (the company taxpayer number) in good standing can register. The name has 2 to 26 characters. Watch out: names that differ only by an accent or a hyphen count as the same name.
| Term | Official .br price |
|---|---|
| 1 year | R$ 40 |
| 5 years | R$ 184 |
| 10 years | R$ 364 |
The expiration notice arrives by email 30 days ahead. Registro.br states that it does not send boletos (Brazilian bank payment slips) by mail. If one arrives, it is a scam.
What the pros know
When someone says a DNS change "takes up to 24 hours to propagate", there is no wave spreading out. Each record has a TTL, a number its owner writes (RFC 1035 defines it with 32 bits and as the time the record can be kept before the source is consulted again). Providers keep the answer for that long and only then ask again. That is why a professional lowers the TTL to a few minutes days before the migration, waits for the old period to expire, changes the address and then raises the TTL again. The change is fast and the risk is small.
Hosting is renting a server
Hosting is the server role from lesson 7, rented for your site. The headline price is misleading: many plans advertise a low figure that applies only to the first period. Compare by adding up five years, renewal included.
For a simple file, like your mysite.html, there are free services with published limits:
- GitHub Pages: public repository and a limit of 1 GB per site.
- Cloudflare Pages: 500 builds per month on the free plan.
- Netlify: free plan with your own domain and SSL.
They serve only ready-made files, not sites assembled by a program.
The five-year math
An example from Hostinger in Brazil, in October 2026: R$ 5.99 per month, but that figure applies to 48 months paid at once (R$ 287.52). The renewal costs R$ 23.99 per month. In the fifth year, you pay almost as much as in the first four together. Five years come to around R$ 575. A static file like yours, on the other hand, can cost zero.
The padlock for free
Let's Encrypt is a free, automated authority that issues the certificate behind the padlock. Since 2018 Chrome has marked a site without HTTPS as "Not secure". According to W3Techs, 90.3% of sites already use HTTPS by default.
Careful
Register the domain under your own CPF or CNPJ, never in the agency's name. Whoever registers it owns the name. Keep the expiration date and the registered contacts.
Practice · 10 min
- Publish mysite.html on GitHub Pages, Netlify or Cloudflare Pages.
- Open the address on your phone, tap the padlock and see who issued the certificate.
- On registro.br, search for one name with an accent and another with a hyphen. See the equivalence rule.
Summary
- A domain is a name in a tree. Hosting is the rented server.
- In Brazil, .br costs R$ 40 per year. A boleto by mail is a scam.
- "Propagation" is the TTL. Lower it before you migrate.
- Compare hosting by the five-year total.
Sources
Read on October 30, 2026.
- IETF. RFC 1034 and RFC 1035 (1987): tree of names and TTL.
- Brazil. Decreto 4.829/2003. Registro.br: statistics, rules and domain payment.
- Hostinger, hosting plans.
- GitHub, Pages limits; Cloudflare, Pages limits; Netlify, plans.
- Let's Encrypt. About. Chromium, A secure web is here to stay. W3Techs, HTTPS by default.
Lesson quiz
Three situations to apply what you learned.
Isaque Victor free courses