JUSQU'OÙ IREZ-VOUS

Achetez un .com pour 4,99 $

Espace Client sécurisé DATAenligne

Espace Client

Connexion sécurisée

JUSQU'OÙ IREZ-VOUS

Hosts file: what does it stand for?

cet article si tu l’

le fichier hostfile
Picture of Etienne F. Carrier

Etienne F. Carrier

DATAenligne inc. | solutions et services d'hébergement web
Nom de Domaine | Wordpress | VPS | Virtualisation Proxmox | DRP | Monitoring | Installation | Migration | Support | Gestion nuagique | et +++

Hosts file: what does it stand for?

The Hosts file has the function of indicating to your computer the path to follow to reach an IP address or a domain name of a website. Hosts file: what does it stand for?

By default, the Hosts file will tell your browser to display the content of the requested website in the web navigation bar.

What is the use of modifying this file?

The Hosts file allows you to register an exception that allows you to ignore the default route by forcing your browser to go to another IP address.

This function is useful when you have a development site hosted in another server and whose IP address differs from the production site. By adding an exception, you will force your computer to go through the specified path as shown in the following table.

To edit your Hosts file, here are instructions you can follow for a computer running MacOS or Windows:

YouTubeTutorial pour MacOS

YouTubeTutorial pour Windows

For MacOS users, here are the commands to use in the Terminal application:
to access the “Hosts” file: sudo nano /etc/hosts
to empty the DNS Cache: sudo killall -HUP mDNSResponder

f you have any difficulties, do not hesitate to contact us via the ticket office and we will assist you.

Etienne F. Carrier

EN PRIMEUR

Inscris-toi pour recevoir nos communications en primeur