this post was submitted on 21 Jul 2023
1499 points (98.9% liked)

Technology

65982 readers
7059 users here now

This is a most excellent place for technology news and articles.


Our Rules


  1. Follow the lemmy.world rules.
  2. Only tech related content.
  3. Be excellent to each other!
  4. Mod approved content bots can post up to 10 articles per day.
  5. Threads asking for personal tech support may be deleted.
  6. Politics threads may be removed.
  7. No memes allowed as posts, OK to post as comments.
  8. Only approved bots from the list below, this includes using AI responses and summaries. To ask if your bot can be added please contact a mod.
  9. Check for duplicates before posting, duplicates may be removed
  10. Accounts 7 days and younger will have their posts automatically removed.

Approved Bots


founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] grandkaiser 87 points 2 years ago* (last edited 2 years ago) (41 children)

Hi, professional DNS engineer here! if anyone has any questions about the inner workings of DNS or top level domains, ask away! (THIS IS MY MOMENT)

[–] [email protected] 4 points 2 years ago (6 children)

So why do we need the .com or .org or whatever at all? And the www. as well?

I remember when I had to type the whole http://www.cakefarts.com and now just cakefarts.com works. What changed? And what's next?

[–] grandkaiser 6 points 2 years ago* (last edited 2 years ago)

To answer your other question: most likely, www.cakefarts.com is now accessible from cakefarts.com for one of three reasons:

  1. Your web browser automatically checks the A record "www" if "cakefarts.com" doesn't have an A record. A records are the records in a DNS server that says "this domain goes here"
  2. The site cakefarts.com put their website on cakefarts.com and placed a CNAME record called "www" that points to cakefarts.com
  3. cakefarts.com has an APEX record that points to www.cakefarts.com

For the 'record', www is just a really common record name. There's nothing special about it. You could have dudebro.cakefarts.com or wwwwwww.cakefarts.com. It's up to the domain owner.

load more comments (5 replies)
load more comments (39 replies)