Domain name and URL of each part

What is a domain name?

  1.  Domain name, the name on the Internet is a bunch of dots separated by a name consisting of the computer or group of computers, electronic position to identify your computer when data transfer.
  2.  IP address is used as a route addressing numeric identify an Internet host, who is not easy to remember. Thus creating a domain name to identify this kind of character. What is domain name? That identifier is called character domain names that are easy to remember.
  3.  Popular to say what is a domain name is equivalent to a family's house number, people can easily find you through this number. This also means that there is no repeat of the domain name in the world

http://mail.163.com/index.html

  1.  http: //: This is the protocol, HTTP is HyperText Transfer Protocol, which is the page in the online transmission protocol.
  2.  mail: This is the server name, on behalf of a mailbox server, so is the mail.
  3.  163.com: This is the domain name is the unique name used to locate the site.
  4.  mail.163.com: This is the site name, the server name + domain name components.
  5.  /: This is the root directory, that is, through the website to find the server name, and then stored in the root directory of the web server
  6.  index.html: This is the default page under the root directory (of course, is not the default page 163 of this I do not know, but most of the default page is index.html)
  7.  http://mail.163.com/index.html: This is called URL, Uniform Resource Locator, the global address resource for locating online.

What type of domain name?

Since the Internet was originally originated in the United States, so the earliest the domain name has no national identity, according to people use to divide them into several categories, which are ending with different suffixes:

  1.  .com for commercial companies
  2.  .org for organizations, associations, etc.
  3.  .net for network services
  4.  .edu for educational institutions
  5.  .gov. for government departments
  6.  .mil for military applications

With the development of the Internet around the world, in addition to edu, gov, mil, generally only outside the United States dedicated, the other three categories com, org, net has become common throughout the world, so this domain is commonly referred to three categories of international domain names .

As the international domain limited resources, countries, regions in the domain name plus the last section of the national identity, thus forming various countries and regions their own domestic domain, such as:

.com.cn China Business

.org.hk organization in Hong Kong

.net.jp network in Japan

Obviously international domain name has a higher level than the domestic domain, more conducive to corporate image.

Each part of the composition of ordinary URL

http://www.aspxfans.com:8080/news/index.asp?boardID=5&ID=24618&page=1#name

As can be seen from the above URL, a full URL includes the following sections:

  1.  Protocol: Protocol as part of the URL "http:", which represents the web page using the HTTP protocol. More may be used in the Internet protocols, such as HTTP, FTP and the like used in this example is the HTTP protocol. In the "HTTP" behind "//" is a delimiter
  2.  Domain name parts: the part of the URL of the domain name "www.aspxfans.com". A URL, or you can use the IP address as the domain name
  3.  Port sections: following the domain name is to use between the ports, the domain name and port ":" as the delimiter. Port is not a necessary part of the URL, if the port portion is omitted, the default port 80
  4.  Virtual directory section: from the first domain name after "/" beginning to the last "/" so far, is the virtual directory section. Virtual directory is not a necessary part of the URL. In this example the virtual directory is "/ news /"
  5.  File name part: "?" From last after the domain name "/" beginning to date, is the filename part, if not, it is from the last after the domain name "/" beginning to "#" So far, the "?" files section, if there is no "?" and "#", then the domain name from the last "/" start to finish, are part of the file name. In this case the file name is "index.asp". Part of the file name is not a necessary part of the URL, if you omit this part, the default file name
  6.  Anchor parts: from the "#" beginning to end, are part of the anchor. Anchor of this embodiment is "name". Anchor part of the URL is not a necessary part
  7.  Parameters section: from the beginning to the part of the argument between the part until the "#", also known as part of the search query part "?." Parameters of this embodiment is "boardID = 5 & ID = 24618 & page = 1". Parameter to allow a plurality of parameters, with the parameters between the parameter and the "&" as the delimiter.

Original link: https://blog.csdn.net/ergouge/article/details/8185219

Other expansion:

Classic face questions - completely opened from the browser address bar enter the URL, the page, the middle process detailed

 

 

 

 

 

 

 

 

 

Guess you like

Origin www.cnblogs.com/zhaoyl9/p/11498314.html