Create your
Online Boutique
with WordPress

Espace Client sécurisé DATAenligne

Customer Area

Secure Connection

Hosts file: what does it stand for?

this article if you l’

le fichier hostfile
Etienne F. Carrier

Etienne F. Carrier

DATAenligne inc. | Web Hosting and Cloud Management Experts
Domain | Wordpress | VPS | Clusters | Monitoring | Management | +++

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 your Terminal application to access the Hosts file:
to access the Hosts file: sudo nano /etc/hosts
than flush the DNS Cache with this command : sudo killall -HUP mDNSResponder

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

Join the discussion

They said so:

    Leave a Reply

    Your email address will not be published. Required fields are marked *


    Hosting and Cloud Management of a web project are at the heart of any digital adventure that no one can pretend to knows its destination.

    How far will you go

    Latest articles

    Sign up

    Sign up for our blog. We’ll let you know when a new article is released.

    Web Hosting
    & Cloud Management

    How far will you go


    Sign up to receive our first communications