Use of dot ( . ) after www. in the URL

2019-09-20 17:33发布

I often visit a link! But i have no idea what dot (.) represents in the URL.
What is use of dot (.) in the URL?

标签: url
3条回答
贪生不怕死
2楼-- · 2019-09-20 17:40

The dot (.) is the character that was defined to be the delimiter in domain names (see DNS).

It delimits the labels in a domain name.

The domain name www.google.com consists of three labels:

  • com (aka. the top-level domain)
  • google (aka. the second-level domain)
  • www (aka. the third-level domain, or subdomain)
查看更多
疯言疯语
3楼-- · 2019-09-20 17:43

The '.' is like a character which differentiates from the domains. like www.todaysfuture.in the '.' after www means the first domain is done. then it checks the next domain.

The best example is like your email ID first is the email-ID then is the '@' that means the account name is done then comes gmail/yahoo/wtvr then a '.' to finish the account type then '.' com or in depending on the account

查看更多
姐就是有狂的资本
4楼-- · 2019-09-20 17:59

Web addresses, or Uniform Resource Locators, go backwards with more specific terms coming first (like real addresses).

So for www.google.com

  • com is the top level domain - it might be a global domain like .com or a country code like .uk, and some top level domains have sub divisions like .gov.uk and .co.uk.

  • google is the domain - this is the name you actually buy and route to your servers/services

  • www subdomain - these are optional, and can be used to distinguish different services running on the same server, so www.google.com would serve web pages while ftp.google.com might be an FTP service.

Note that the subdomain is often optional - google.com and most other servers will assume www as the default service or infer it from the protocol (the http:// bit).

查看更多
登录 后发表回答