Quelle est la différence entre le nom de l'ordinateur (hostname) et le nom de domaine?

There is often confusion about what is a host name and what is a domain name.

A domain name is the name that is purchased from a registrar. It will be something like ictea.com or ictea.net. Note that there is no www at the beginning of a domain name. A domain name can be subdivided into sub-domains - for example www.ictea.com. Once you own a domain, there is no reasonable limit to the number (or names) of the sub-domains you can create. A sub-domain can be allocated to a host machine - for example a PC. In fact many sub-domains can be allocated to the same host machine. The way sub-domains are allocated to a host machine is to create a record in the DNS (Domain Name Servers) that records the sub-domain name and the IP address of the host machine. Any requests for a sub-domain (e.g. www.ictea.com) are converted to an IP address by DNS and the IP address is used to route the request through the network until it reaches the host machine.

In the early years of the Internet, each sub-domain would have a unique IP address so it was common for a host machine to have only one sub domain name. Nowadays, the common practice is to have many sub-domains with the same IP address. It is also common for the domain name to be converted to the IP address of the host machine that runs the www sub domain.

A host name is the unique name of a machine. When the host operating system is set up it is given a name. This name may reflect the prime use of the machine. For example, a host machine that converts host names to IP addresses using DNS may be called dns1.ictea.com and a host machine that is a web server may be called www.ictea.com. When we need to find the host name from an IP address we send a request to the host using its IP address. The host will respond with its host name.

IP address to Country

IP addresses are allocated by regional organisations. Therefore it is relatively easy to work out the country in which an IP is likely to reside. When an IP is allocated to a company they are expected to be used in the country the organisation resides. But, there is nothing to stop a company allocating an IP to a machine in another country. For example. A company is allocated a range of IP addresses X.Y.Z.0 to X.Y.Z.255 for use in England. This company has a private network with a branch office in New York. So, it uses most of the IP address in England but uses some of them in the States. So, we cannot guarantee that the country is 100% correct when converting an IP address, but we would expect it to be correct at least 90% of the time.

RETOUR

  • 7 Utilisateurs l'ont trouvée utile
Cette réponse était-elle pertinente?

Articles connexes

Qu'est-ce qu'un nom de domaine?

Un nom de domaine (NDD en notation abrégée française ou DN pour Domain Name en anglais) est, dans...

Qu'est-ce qu'un médias sociaux?

L’expression « médias sociaux » est de plus en plus utilisée et tend à remplacer le terme de Web...

Qu'est-ce DNS?

Le Domain Name System (ou DNS, système de noms de domaine) est un service permettant de traduire...

Qu'est-ce que le Cloud Computing?

Le cloud computing, ou l’informatique en nuage ou nuagique ou encore l’infonuagique (au...

Quel est le protocole Internet IPv6?

IPv6 (Internet Protocol version 6) est un protocole réseau sans connexion de la couche 3 du...

Powered by WHMCompleteSolution