The simplest way to understand the web stack
Domain registrar = the place where you buy and control the address.
DNS = the signpost system that sends visitors to the correct server.
Hosting = the machine or platform that stores and serves your site files.
Website files = your HTML, CSS, JavaScript, images, documents, and content.
| Layer | What it does | Beginner mistake to avoid |
|---|---|---|
| Domain | Gives your site a human-readable address. | Letting someone else register it under their account. |
| DNS | Connects the domain to hosting, email, and security services. | Changing records without recording the old settings. |
| Hosting | Publishes your site to the internet. | Buying more hosting than the project currently needs. |