Use the hosts file to simulate a DNS record on Windows

Location of the hosts file : C:\Windows\System32\drivers\etc.

Pour ajouter un enregistrement :

1. Start notepad as administrator.

2. Open the hosts file located in C:\Windows\System32\drivers\etc.

To display the hosts file which has no extension it is necessary to select All files (*. *)

3. Add a record in the form:

ip_address dns_record
192.168.1.37 mon-server.maison.home

4. Save and close the file.

Romain Drouche

Romain Drouche

Architecte Système | MCSE: Core Infrastructure

Expert en infrastructures IT avec plus de 15 ans d'expérience sur le terrain. Actuellement Chef de projet Systèmes et Réseaux et Référent SSI (Sécurité des Systèmes d'Information), je mets mon expertise au service de la fiabilité et de la sécurité des environnements technologiques.

GHinM▶