Question:

How to block some web address on server?

by  |  earlier

0 LIKES UnLike

I would like to block some web address on server(windows 2003) to restrict access from all workstations which are working under it. How can I do it?

 Tags:

   Report

1 ANSWERS


  1. hi simply you can block any site by entring that site name in hosts file

    C:\WINDOWS\system32\drivers\etc

    in etc folder you can find HOSTS file and open it via notepad or wordpad

    it will show like :

    # Copyright (c) 1993-1999 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

    127.0.0.1       localhost

    **************************************...

    add here which site you want block and save it and close

    now see that site has been blocked

Question Stats

Latest activity: earlier.
This question has 1 answers.

BECOME A GUIDE

Share your knowledge and help people by answering questions.