website blokeren

Status
Niet open voor verdere reacties.

applefaq

Terugkerende gebruiker
Lid geworden
26 okt 2008
Berichten
1.525
Hallo,

Ik wil een website blokeren en dat kan met het host bestand enne
ik heb dat gedaan aleen dat werkt niet
ik heb het getest met deze website : http://www.123test.nl/
hier het bestand.


# 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
# 127.0.0.1 http://www.123test.nl/
 
Dat moet je anders doen: Haal dat http:// etc. eraf, dus het wordt:
127.0.0.1 www.123test.nl

Succes,

Tijs.
 
Je moet de # ervoor weg halen. Dit betekent namelijk dat die lijn wordt overgeslagen ;)

# Additionally, comments (such as these) may be inserted on individual
# lines or following the machine name denoted by a '#' symbol.
 
Laatst bewerkt:
Oh ja, natuurlijk ook dat #-teken weghalen bij die regel, want anders wordt alles wat er achter staat commentaar, en dus niet meegenomen..........

Edit: ik zie dat Niekfct je daar ook al op gewezen heeft.

Tijs.
 
ik wou alweer bijna zeggen dat het niet werkt
even proberen :)
 
Ja, Het is gelukt.
Heel erg bedankt voor je tijd en hulp (Dnties,niekfct) :thumb:
 
Mooi dat het gelukt is. :thumb:

Graag nu nog even klikken op "Vraag is opgelost" in het vakje "Status van de vraag", iets verder naar beneden aan de rechterkant van deze webpagina.

Tijs.
 
Status
Niet open voor verdere reacties.
Terug
Bovenaan Onderaan