-1

For the past two days I've been reading up on domains and the like because I'll be setting up a website on a VPS. However, I keep getting conflicting answers from stackoverflow, youtube and various other sites (a quick google image search will show this which is extremely frustrating).

For the url:https://www.example.com

  1. Is www the subdomain or the hostname? What's the differences between the two and how can I recognize them when I'm just given a URL?
  2. Which of these are the domain / domain name? example or example.com or www.example.com? What exactly makes a domain name?
Giacomo1968
  • 58,727
user8380672
  • 101
  • 4

1 Answers1

-2

Okay first of all the top level domain part of your question would be the .com also called the extension. The secondary level domain is Google. Thats probably where the confusion came in. Top level domain is the extension. Secondary level domain is the name. And a sub domain is part of that secondary level domain. Like this; www.shop.google.com The subdomain will be before the actual secondary domain and there will be a . immediately in between the two. Think of the heirarchy as in going in reverse....