Hi friend, I made a new text file named "hosts" and I've written folloing
text:
127.0.0.1 facebook.com
127.0.0.1
www.facebook.com
saved it without any extenssion. nonetheless it's not working. whereas it
saved correctly.
--------------------------------------------------
From: "ratheesh kottakkal" <[email protected]>
Sent: Thursday, July 18, 2013 4:48 AM
To: <[email protected]>
Subject: Re: [AI] Want to ban face book in my pc
Friends,
there were some mistakes in my explanation about the IP addrress. The
following excerpt very clearly explains how this trick works. The
mistake is not with the procedure. Kindly pardon me
Source:
http://www.gohacking.com/hosts-file-to-block-or-redirect-websites/.
What is a hosts File?
The hosts file is just like any other computer file that is used by
the operating system to map hostnames and domain names on to their
corresponding IP
addresses.
In other words, when you type “google.com” on your browser’s address
bar, your computer will look for the hosts file to see if it contains
the corresponding IP
address for the domain name you typed (google.com). In case if no
entry is present in the hosts file, the request is then passed on to
the DNS (Domain
Name System) server to obtain the IP address.
hosts File vs. DNS
When it comes to resolving the hostnames, the hosts file is given the
first priority over the Domain Name System. In most cases, the hosts
file remains
unconfigured on the operating system and hence the DNS is used by the
computer to resolve the domain names to their corresponding IP
addresses.
However, if the hosts file is found to contain a valid entry for a
given hostname or domain name, then this is picked up and used by the
operating system.
Where is the hosts File Located?
Windows: In case of the Windows operating system, the hosts file is
located at:
%systemroot%\system32\drivers\etc\hosts
NOTE: In most cases this should be: C:\Windows\System32\drivers\etc\hosts
Unix/Linux: In case of Linux it is located at:
/etc/hosts
How to Block a Website?
To block a specific website, all you have to do is just add a new
entry for that site in the hosts file. I would prefer to backup the
original file and
create a new one instead of modifying it. So, if something goes wrong,
you can just delete it and restore the original one! Well, here is a
step-by-step
procedure on how to create a new hosts file on Windows:
list of 2 items
1. Go to “My Computer” and you should see the “Menu bar” on top. In
case of Vista and Win 7, just click “Alt” to unhide the “Menu bar”.
2. Now in the menu bar, click on “Tools -> Folder Options”. In the
“View” tab uncheck the option that says: “Hide extensions for known
file types” and
click on “OK”.
list end
Windows Folder Options
list of 3 items
1. Open a new text pad (New Text Document.txt) and rename it to:
hosts. You will get a pop-up message with a warning. Just click on
“Yes”.
Please note that the renamed file hosts should not have any extension
such as hosts.txt.
2. Open the hosts file using the notepad. Now let us assume that you
want to block the sites Facebook and Youtube on your computer. For
this all you have
to do is add the following lines to your hosts file:
127.0.0.1 facebook.com
127.0.0.1 www.facebook.com
127.0.0.1 youtube.com
127.0.0.1 www.youtube.com
Each entry should be placed on an individual line. The IP address and
the hostname should be separated by a space or a tab. In this way, you
can block
any given website by just pointing it to the IP address 127.0.0.1.
3. Navigate to %systemroot%\system32\drivers\etc. Here you should see
the original hosts file, rename it to hosts_bak. Just copy and paste
the new hosts
file that you have created. That’s it. You’ve now successfully blocked
those websites from loading on your computer.
If you are using Vista/Win 7 you may have to
take ownership
of the original hosts file before renaming it.
list end
How to Redirect a Website?
Suppose you want to redirect Friendster.com to Google.com, all you
have to do is just add the following lines to your hosts file:
74.125.236.72 friendster.com
74.125.236.72 www.friendster.com
Here 74.125.236.72 is the IP address of Google.com. To find out the IP
address of any given website, just go to command prompt and ping it.
For example:
ping google.com. You should get a ping response that displays the IP
address as shown below:
Ping Test
From now on, whenever you type “friendster.com” on your browser, you
will be redirected to “google.com”.
How does a hosts File work?
Whenever you block a website using the hosts file, you point it to the
IP address 127.0.0.1 which in fact is the IP address of your own
computer. In other
words, the IP 127.0.0.1 points to your own computer and doesn’t exist
outside.
So, whenever you type the URL of a website for which an entry is
present in the hosts file, your computer will load the IP as 127.0.0.1
instead of the
actual one and tries to establish a connection with this IP address
(127.0.0.1) but fails. As a result the website doesn’t load at all.
The redirection of the website works by pointing the domain name of
one website to the IP address of another website (as configured by the
hosts file)
instead of its original IP address. So, whenever you type
friendster.com, it is pointed to Google.com’s IP address and thus, the
Google page loads up instead
of the actual page from friendster.com.
Negi sir, I think Anil sir is the best person to answer your question.
I hope he would respond shortly.
On 7/17/13, TS Negi <[email protected]> wrote:
Yes, I'm using MSE, please tell me what changes should I do.
--------------------------------------------------
From: "anil kumar" <[email protected]>
Sent: Wednesday, July 17, 2013 5:24 AM
To: <[email protected]>
Subject: Re: [AI] Want to ban face book in my pc
which antivirus are you using? sometimes antivirus also creates this
type of problems
i also faced this problem but i made some changes in my microsoft
security essential like allow for changes in system files after that
its working fine!
Secondly are you typed properly because if THERE is any single mistake
like giving extra spaces or less spaces could be some causes for this
kind of issues
Regards,
On 7/16/13, ratheesh kottakkal <[email protected]> wrote:
Friend,
It seems to be beyond my knowledge. It sounds very strange.
Then one more thing. Sometimes softwares like Deep freeze might have
been installed in the system. This software can freeze a selected
drive/folder. That means no change in the file will be saved. People
install it to protect the system from malwares. Sometimes that might
be the reason why the change is not getting saved.
Can you tell me whether you save any file in My documents? If Deep
freeze has been installed in the system to freeze c drive, whenever
you save a file in my documents the file would not be there once the
system is restarted.
If this is not the reason some other member of the list would help
you. The trick worked in the case of Moheb sir and Bijoy sir. So the
problem is not with the I.P address.
regards,
Ratheesh
On 7/16/13, TS Negi <[email protected]> wrote:
Hi sir, what I several times write in the last line of that notepad
file
is:
127.0.0.1 facebook.com
I all the time save it but when I open it again, it disappears from
there
every time.
Please tell me, am I doing any wrong thing?
--------------------------------------------------
From: "ratheesh kottakkal" <[email protected]>
Sent: Sunday, July 14, 2013 7:46 PM
To: <[email protected]>
Subject: Re: [AI] Want to ban face book in my pc
Hoopse, two three mistakes in my mail.
follow the steps below,
1, open c drive
2, open windos
3, open system 32 folder
4, open drivers
5, open folder with the name "etc"
6, then you will see the file - hosts. On clicking on the folder you
are most likely to see the dialogue box to select the programme to
open the folder. Select note pad.
7, Then you will get notepad window. Come to the last line of the
text.
8, in a new line type
127.0.0.1 www.facebook.com
9, save the change with the key stroke ctrl+s.
Over. it is done.
tell me what happens now.
regards,
Ratheesh
skype- ratheesh.ignou
On 7/14/13, austin pinto <[email protected]> wrote:
hi the best thing u can do is download and install a perentel
control
software on your pc if u have quickheal antivirus internet security
or
total security u have it pre installed then just block all the
websites that u dont want thats the best
On 7/14/13, TS Negi <[email protected]> wrote:
Thank you sir, but I could not understand. could not find O pen the
folder
"hosts" with notpad.
Please elaborate in easy words.
--------------------------------------------------
From: "ratheesh kottakkal" <[email protected]>
Sent: Sunday, July 14, 2013 4:17 PM
To: <[email protected]>
Subject: Re: [AI] Want to ban face book in my pc
Friend,
There is another way.
1, Open C drive
2, windos> system > drivers > etc
3, O pen the folder "hosts" with notpad.
4, come to the last line in the notpad window.
5, in a new line type
127.0.0.1 www.facebook.com
6, save the change.
Done.
From now on Facebook is banned on your system.
At any moment you can make it accessible by deleting that line in
hosts
file.
hope this helps.
Regards,
Ratheesh
skype- ratheesh.ignou
On 7/14/13, Mr. Banker <[email protected]> wrote:
block Facebook in Internet Explorer :
1. Open Internet Explorer and click Tools
2. Click Internet Options and then click on the Content tab
3. Click the Enable button
4. Click on the Approved Sites tab
5. Enter facebook.com in the box
6. Click Never and then OK
7. In the appeared window enter and confirm your new password
8. Click on the General tab and make sure to select Users can
see
websites that have no ratings
9. Click OK
On 7/14/13, TS Negi <[email protected]> wrote:
Hi friends, I want to ban face book from my PC through any
browser,
please
guide me for the same.
Thanks
Register at the dedicated AccessIndia list for discussing
accessibility
of
mobile phones / Tabs on:
http://mail.accessindia.org.in/mailman/listinfo/mobile.accessindia_accessindia.org.in
Search for old postings at:
http://www.mail-archive.com/[email protected]/
To unsubscribe send a message to
[email protected]
with the subject unsubscribe.
To change your subscription to digest mode or make any other
changes,
please
visit the list home page at
http://accessindia.org.in/mailman/listinfo/accessindia_accessindia.org.in
Disclaimer:
1. Contents of the mails, factual, or otherwise, reflect the
thinking
of
the
person sending the mail and AI in no way relates itself to its
veracity;
2. AI cannot be held liable for any commission/omission based on
the
mails
sent through this mailing list..
--
Like us on Facebook:
http://m.facebook.com/bankers.visuallyimpaired
Looking for banking material?
http://visuallyimpairedbankers.blogspot.in/
Register at the dedicated AccessIndia list for discussing
accessibility
of
mobile phones / Tabs on:
http://mail.accessindia.org.in/mailman/listinfo/mobile.accessindia_accessindia.org.in
Search for old postings at:
http://www.mail-archive.com/[email protected]/
To unsubscribe send a message to
[email protected]
with the subject unsubscribe.
To change your subscription to digest mode or make any other
changes,
please
visit the list home page at
http://accessindia.org.in/mailman/listinfo/accessindia_accessindia.org.in
Disclaimer:
1. Contents of the mails, factual, or otherwise, reflect the
thinking
of
the
person sending the mail and AI in no way relates itself to its
veracity;
2. AI cannot be held liable for any commission/omission based on
the
mails
sent through this mailing list..
Register at the dedicated AccessIndia list for discussing
accessibility
of
mobile phones / Tabs on:
http://mail.accessindia.org.in/mailman/listinfo/mobile.accessindia_accessindia.org.in
Search for old postings at:
http://www.mail-archive.com/[email protected]/
To unsubscribe send a message to
[email protected]
with the subject unsubscribe.
To change your subscription to digest mode or make any other
changes,
please visit the list home page at
http://accessindia.org.in/mailman/listinfo/accessindia_accessindia.org.in
Disclaimer:
1. Contents of the mails, factual, or otherwise, reflect the
thinking
of
the person sending the mail and AI in no way relates itself to its
veracity;
2. AI cannot be held liable for any commission/omission based on
the
mails
sent through this mailing list..
Register at the dedicated AccessIndia list for discussing
accessibility
of
mobile phones / Tabs on:
http://mail.accessindia.org.in/mailman/listinfo/mobile.accessindia_accessindia.org.in
Search for old postings at:
http://www.mail-archive.com/[email protected]/
To unsubscribe send a message to
[email protected]
with the subject unsubscribe.
To change your subscription to digest mode or make any other
changes,
please
visit the list home page at
http://accessindia.org.in/mailman/listinfo/accessindia_accessindia.org.in
Disclaimer:
1. Contents of the mails, factual, or otherwise, reflect the
thinking
of
the
person sending the mail and AI in no way relates itself to its
veracity;
2. AI cannot be held liable for any commission/omission based on
the
mails
sent through this mailing list..
--
surch for me on facebook, google+, orkut..
[email protected]
follow me on twitter.
austinmpinto
contact me on skype.
austin.pinto3
Register at the dedicated AccessIndia list for discussing
accessibility
of
mobile phones / Tabs on:
http://mail.accessindia.org.in/mailman/listinfo/mobile.accessindia_accessindia.org.in
Search for old postings at:
http://www.mail-archive.com/[email protected]/
To unsubscribe send a message to
[email protected]
with the subject unsubscribe.
To change your subscription to digest mode or make any other
changes,
please
visit the list home page at
http://accessindia.org.in/mailman/listinfo/accessindia_accessindia.org.in
Disclaimer:
1. Contents of the mails, factual, or otherwise, reflect the
thinking
of
the
person sending the mail and AI in no way relates itself to its
veracity;
2. AI cannot be held liable for any commission/omission based on the
mails
sent through this mailing list..
Register at the dedicated AccessIndia list for discussing
accessibility
of
mobile phones / Tabs on:
http://mail.accessindia.org.in/mailman/listinfo/mobile.accessindia_accessindia.org.in
Search for old postings at:
http://www.mail-archive.com/[email protected]/
To unsubscribe send a message to
[email protected]
with the subject unsubscribe.
To change your subscription to digest mode or make any other changes,
please visit the list home page at
http://accessindia.org.in/mailman/listinfo/accessindia_accessindia.org.in
Disclaimer:
1. Contents of the mails, factual, or otherwise, reflect the thinking
of
the person sending the mail and AI in no way relates itself to its
veracity;
2. AI cannot be held liable for any commission/omission based on the
mails
sent through this mailing list..
Register at the dedicated AccessIndia list for discussing
accessibility
of
mobile phones / Tabs on:
http://mail.accessindia.org.in/mailman/listinfo/mobile.accessindia_accessindia.org.in
Search for old postings at:
http://www.mail-archive.com/[email protected]/
To unsubscribe send a message to
[email protected]
with the subject unsubscribe.
To change your subscription to digest mode or make any other changes,
please
visit the list home page at
http://accessindia.org.in/mailman/listinfo/accessindia_accessindia.org.in
Disclaimer:
1. Contents of the mails, factual, or otherwise, reflect the thinking
of
the
person sending the mail and AI in no way relates itself to its
veracity;
2. AI cannot be held liable for any commission/omission based on the
mails
sent through this mailing list..
Register at the dedicated AccessIndia list for discussing accessibility
of
mobile phones / Tabs on:
http://mail.accessindia.org.in/mailman/listinfo/mobile.accessindia_accessindia.org.in
Search for old postings at:
http://www.mail-archive.com/[email protected]/
To unsubscribe send a message to
[email protected]
with the subject unsubscribe.
To change your subscription to digest mode or make any other changes,
please
visit the list home page at
http://accessindia.org.in/mailman/listinfo/accessindia_accessindia.org.in
Disclaimer:
1. Contents of the mails, factual, or otherwise, reflect the thinking
of
the
person sending the mail and AI in no way relates itself to its
veracity;
2. AI cannot be held liable for any commission/omission based on the
mails
sent through this mailing list..
Register at the dedicated AccessIndia list for discussing accessibility
of
mobile phones / Tabs on:
http://mail.accessindia.org.in/mailman/listinfo/mobile.accessindia_accessindia.org.in
Search for old postings at:
http://www.mail-archive.com/[email protected]/
To unsubscribe send a message to
[email protected]
with the subject unsubscribe.
To change your subscription to digest mode or make any other changes,
please visit the list home page at
http://accessindia.org.in/mailman/listinfo/accessindia_accessindia.org.in
Disclaimer:
1. Contents of the mails, factual, or otherwise, reflect the thinking of
the person sending the mail and AI in no way relates itself to its
veracity;
2. AI cannot be held liable for any commission/omission based on the
mails
sent through this mailing list..
Register at the dedicated AccessIndia list for discussing accessibility
of
mobile phones / Tabs on:
http://mail.accessindia.org.in/mailman/listinfo/mobile.accessindia_accessindia.org.in
Search for old postings at:
http://www.mail-archive.com/[email protected]/
To unsubscribe send a message to
[email protected]
with the subject unsubscribe.
To change your subscription to digest mode or make any other changes,
please
visit the list home page at
http://accessindia.org.in/mailman/listinfo/accessindia_accessindia.org.in
Disclaimer:
1. Contents of the mails, factual, or otherwise, reflect the thinking of
the
person sending the mail and AI in no way relates itself to its veracity;
2. AI cannot be held liable for any commission/omission based on the
mails
sent through this mailing list..
Register at the dedicated AccessIndia list for discussing accessibility of
mobile phones / Tabs on:
http://mail.accessindia.org.in/mailman/listinfo/mobile.accessindia_accessindia.org.in
Search for old postings at:
http://www.mail-archive.com/[email protected]/
To unsubscribe send a message to
[email protected]
with the subject unsubscribe.
To change your subscription to digest mode or make any other changes,
please visit the list home page at
http://accessindia.org.in/mailman/listinfo/accessindia_accessindia.org.in
Disclaimer:
1. Contents of the mails, factual, or otherwise, reflect the thinking of
the person sending the mail and AI in no way relates itself to its
veracity;
2. AI cannot be held liable for any commission/omission based on the mails
sent through this mailing list..
Register at the dedicated AccessIndia list for discussing accessibility of
mobile phones / Tabs on:
http://mail.accessindia.org.in/mailman/listinfo/mobile.accessindia_accessindia.org.in
Search for old postings at:
http://www.mail-archive.com/[email protected]/
To unsubscribe send a message to
[email protected]
with the subject unsubscribe.
To change your subscription to digest mode or make any other changes, please
visit the list home page at
http://accessindia.org.in/mailman/listinfo/accessindia_accessindia.org.in
Disclaimer:
1. Contents of the mails, factual, or otherwise, reflect the thinking of the
person sending the mail and AI in no way relates itself to its veracity;
2. AI cannot be held liable for any commission/omission based on the mails sent
through this mailing list..