Explain to me the difference between a domain and a website like I’m five years old 😊
Conversation
Notices
-
Embed this notice
nixCraft 🐧 (nixcraft@mastodon.social)'s status on Tuesday, 31-Dec-2024 02:26:56 JST nixCraft 🐧 -
Embed this notice
Tek say resist (tek@freeradical.zone)'s status on Tuesday, 31-Dec-2024 02:26:55 JST Tek say resist @nixCraft Let's skip the analogies.
A domain name is something like “google.com”. There can be many hostnames there like “google.com”, "mail.google.com”, “monopoly.google.com”, or whatever. Each of these can point to a different IP address (or addresses!).
You can have a different website on each hostname. You can have many hostnames point at the same website (like www.google.com and google.com being the same thing). You can have a hostname without a website.
-
Embed this notice
Tek say resist (tek@freeradical.zone)'s status on Tuesday, 31-Dec-2024 02:41:07 JST Tek say resist @nixCraft Also, you can have many websites on the same computer with the same IP address.
-
Embed this notice
Alexandre Oliva (moving to @lxo@snac.lx.oliva.nom.br) (lxo@gnusocial.jp)'s status on Tuesday, 31-Dec-2024 06:56:00 JST Alexandre Oliva (moving to @lxo@snac.lx.oliva.nom.br) the domain (name) is what you look up in the domain name system (contact book) to tell how to reach the server (your friend), the website is what the server is configured to respond when you contact its address (call your friend) and ask for webpages (what's the news?)
-
Embed this notice