HOW FAR WILL YOU GO

Create your online
Boutique with WordPress

Espace Client sécurisé DATAenligne

Customer Area

Secure Connection

HOW FAR WILL YOU GO

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

Search

L’hébergement et la gestion nuagique d’un projet web sont à la base de toute aventure numérique dont personne ne connait la destination.

Jusqu’où irez-vous

Abonnes-toi

Abonnes-toi à notre blogue. On t’informera dès la sortie d’un nouvel article.

Experts en
Hébergement Web &
en Gestion Nuagique

Jusqu'où irez-vous

EN PRIMEUR

Inscris-toi pour recevoir nos communications en primeur