Bloquer un site avec les fichiers host
Résolu/Fermé
leboss62
Messages postés
101
Date d'inscription
Statut
Membre
Dernière intervention
-
Amelie -
Amelie -
Bonjour, je voudrai bloquer un site avec les fichier hosts avec le bon répertoire donc j'ai mis :
127.0.0.1 ac-lille.fr
mais malheuresement j'ai encore accès au site.
Cordialement.
127.0.0.1 ac-lille.fr
mais malheuresement j'ai encore accès au site.
Cordialement.
A voir également:
- Livesport24 host
- Host file - Guide
- Modern setup host c'est quoi - Forum Windows 10
- Above host traduction - Forum Mail
- Application frame host - Forum Windows 10
- Frame host - Forum Virus
15 réponses
Bonjour,
Va dans démarrer
Tous les programmes
Accessoires
Fais clic droit sur --> bloc-notes
Choisis exécuter en tant qu'administrateur et valide
Clique sur fichier
Ouvrir
Parcourir pour te rendre dans: C\windows\system32\driver\etc
Sélectionne le fichier hosts, à la suite de 127.0.0.1 localhost , ajoute ces adresses, respecte l'espace entre 127.0.0.1 et l'adresse:
127.0.0.1 localhost
127.0.0.1 www.ac-lille.fr
127.0.0.1 ac-lille.fr
Ensuite clique sur enrégistrer pour sauvegarder.
Va dans démarrer
Tous les programmes
Accessoires
Fais clic droit sur --> bloc-notes
Choisis exécuter en tant qu'administrateur et valide
Clique sur fichier
Ouvrir
Parcourir pour te rendre dans: C\windows\system32\driver\etc
Sélectionne le fichier hosts, à la suite de 127.0.0.1 localhost , ajoute ces adresses, respecte l'espace entre 127.0.0.1 et l'adresse:
127.0.0.1 localhost
127.0.0.1 www.ac-lille.fr
127.0.0.1 ac-lille.fr
Ensuite clique sur enrégistrer pour sauvegarder.
Si tu as une version 64 bits, modifie également le fichier hosts dans --> C\windows\SysWOW64\driver\etc
Voici le contenu de mon fichier host:
# Copyright (c) 1993-2009 Microsoft Corp.
#
# This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
#
# This file contains the mappings of IP addresses to host names. Each
# entry should be kept on an individual line. The IP address should
# be placed in the first column followed by the corresponding host name.
# The IP address and the host name should be separated by at least one
# space.
#
# Additionally, comments (such as these) may be inserted on individual
# lines or following the machine name denoted by a '#' symbol.
#
# For example:
#
# 102.54.94.97 rhino.acme.com # source server
# 38.25.63.10 x.acme.com # x client host
# localhost name resolution is handled within DNS itself.
# 127.0.0.1 localhost
# ::1 localhost
# Start of entries inserted by Spybot - Search & Destroy
# This list is Copyright 2000-2008 Safer Networking Limited
# End of entries inserted by Spybot - Search & Destroy
127.0.0.1 localhost
127.0.0.1 www.ac-lille.fr
127.0.0.1 www.ac-lille.com
127.0.0.1 ac-lille.com
127.0.0.1 www.ac-lille.ca
127.0.0.1 ac-lille.ca
127.0.0.1 www.ac-lille.net
127.0.0.1 ac-lille.net
127.0.0.1 www.fr-fr.ac-lille.com
127.0.0.1 fr-fr.ac-lille.com
127.0.0.1 www.fr-fr.ac-lille.ca
127.0.0.1 fr-fr.ac-lille.ca
127.0.0.1 www4.ac-lille.fr
127.0.0.1 4.ac-lille.fr
# Copyright (c) 1993-2009 Microsoft Corp.
#
# This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
#
# This file contains the mappings of IP addresses to host names. Each
# entry should be kept on an individual line. The IP address should
# be placed in the first column followed by the corresponding host name.
# The IP address and the host name should be separated by at least one
# space.
#
# Additionally, comments (such as these) may be inserted on individual
# lines or following the machine name denoted by a '#' symbol.
#
# For example:
#
# 102.54.94.97 rhino.acme.com # source server
# 38.25.63.10 x.acme.com # x client host
# localhost name resolution is handled within DNS itself.
# 127.0.0.1 localhost
# ::1 localhost
# Start of entries inserted by Spybot - Search & Destroy
# This list is Copyright 2000-2008 Safer Networking Limited
# End of entries inserted by Spybot - Search & Destroy
127.0.0.1 localhost
127.0.0.1 www.ac-lille.fr
127.0.0.1 www.ac-lille.com
127.0.0.1 ac-lille.com
127.0.0.1 www.ac-lille.ca
127.0.0.1 ac-lille.ca
127.0.0.1 www.ac-lille.net
127.0.0.1 ac-lille.net
127.0.0.1 www.fr-fr.ac-lille.com
127.0.0.1 fr-fr.ac-lille.com
127.0.0.1 www.fr-fr.ac-lille.ca
127.0.0.1 fr-fr.ac-lille.ca
127.0.0.1 www4.ac-lille.fr
127.0.0.1 4.ac-lille.fr
Vous n’avez pas trouvé la réponse que vous recherchez ?
Posez votre question
Merci pour vos réponses mais ça ne marche toujours pas je vous donne le site à bloquer si vous y arrivez, je vous serai reconnaissant si vous me donnez vos lignes de codes.
Merci
Merci
Ajoute ces adresses:
127.0.0.1 www.ac-lille.com
127.0.0.1 ac-lille.com
127.0.0.1 www.ac-lille.ca
127.0.0.1 ac-lille.ca
127.0.0.1 www.ac-lille.net
127.0.0.1 ac-lille.net
127.0.0.1 www.fr-fr.ac-lille.com
127.0.0.1 fr-fr.ac-lille.com
127.0.0.1 www.fr-fr.ac-lille.ca
127.0.0.1 fr-fr.ac-lille.ca
127.0.0.1 www.ac-lille.com
127.0.0.1 ac-lille.com
127.0.0.1 www.ac-lille.ca
127.0.0.1 ac-lille.ca
127.0.0.1 www.ac-lille.net
127.0.0.1 ac-lille.net
127.0.0.1 www.fr-fr.ac-lille.com
127.0.0.1 fr-fr.ac-lille.com
127.0.0.1 www.fr-fr.ac-lille.ca
127.0.0.1 fr-fr.ac-lille.ca