ExtraTorrent.cc - The Largest Bittorent SystemLogin   |   Register
Latest Articles
Most searched
Hot torrents
First Cams
View Torrent Info: Beauty and The Beast 2017 720p HD-TS x264-CPG
View Torrent Info: Kong.Skull.Island.2017.CAM.XviD-VAiN
View Torrent Info: The Shack 2017 HDCAM x264-iMLEAVING
View Torrent Info: T2.Trainspotting.2017.CAM.XViD-ETRG
Hot torrents
XVID DIVX
View Torrent Info: Kung.Fu.Yoga.2017.HC.HDRip.XviD.AC3-EVO
View Torrent Info: The.Rift.2016.HDRip.XViD-ETRG
View Torrent Info: Warriors.Gate.2016.BDRip.XviD.AC3-EVO
View Torrent Info: The.House.of.the.Devil.2009.BRRip.XviD-ETRG
Hot torrents
H264 X264
View Torrent Info: Vengeance.A.Love.Story.2017.720p.BRRip.x264.AAC-ETRG
View Torrent Info: Moana.2016.BluRay.1080p.DTS.AC3.x264-ETRG
View Torrent Info: Assassins.Creed.2016.BluRay.720p.DTS.AC3.x264-ETRG
View Torrent Info: From.a.House.on.Willow.Street.2016.720p.WEBRip.x264.AAC-ETRG
Hot torrents
BluRay, 4k UHD
View Torrent Info: Dont Kill It 2016 BluRay 1080p x264 DTSHD5.1 -DDR
View Torrent Info: Warriors Gate 2016 1080p Bluray x264 DTSHD 5.1 -DDR
View Torrent Info: Hunt for the WinderPeople 2016 Multi  Bluray 1080p x264 DTSHD 5.1 -DDR
View Torrent Info: Bitter Harvest (Holodomor) - Bluray 1080p x264 DTSHD 5.1 -DDR
Hot torrents
Television
View Torrent Info: The.Walking.Dead.S07E15.WEB-DL.x264-FUM[ettv]
View Torrent Info: Into.the.Badlands.S02E02.WEB-DL.x264-FUM[ettv]
View Torrent Info: Time.After.Time.US.S01E05.HDTV.x264-LOL[ettv]
View Torrent Info: Elementary.S05E18.HDTV.x264-LOL[ettv]
View Torrent Info: Yo-Kai Watch Movie (2014) x264 720p BluRay {Dual Audio} [Hindi ORG DD 2.0   Japanese 5.1] Exclusive By DREDD
View Torrent Info: Dil To Pagal Hai 1997 BluRay 1080P x264 DTSHD 5.1 -DDR
View Torrent Info: Ho Mann Jahaan (2016) TVRIP 1CDRIP x264 AAC [DDR]
View Torrent Info: Trapped (2017) DesiPDVD 1CDRIP x264 AAC [DDR]
30s
Chat
To add new messages please Login or Register for FREE
Warning! Stop Government from Tracking Your Torrenting!
Your IP Address is 54.145.183.43.   Location is United States
Your Internet Provider and Government can track your internet activity! Hide your IP and LOCATION with a VPN
ExtraTorrent strongly recommends using Trust.Zone VPN to anonymize your torrenting. It's FREE!
HIDE ME NOW


How to Edit the Hosts File in Mac OS X. Stop Hackers


Post a Reply    Subscribe to Topic    
AuthorMessage
candymankz avatar
Posted: Sun May 06, 2012 00:44
Author: Site FriendET junkieET lover
How to Edit the Hosts File in OS X


Every Mac stores a hosts file in the hidden /etc folder, which is used by the operating system and your web browser to map particular hostnames to certain IP addresses. When you enter a website URL address into the Address Bar of Safari, for example, OS X will first check for a corresponding mapping in the hosts file, before moving on to the DNS server to find the required IP address.

For the vast majority of Mac OS X users, the hosts file is something they will never be required to touch. However, for more advanced users, the hosts file can have two particular uses.

Firstly, if you are involved in web programming, using the hosts file can allow you to redirect a domain to a local address on your Mac, where you can test out code “offline” before applying it to the actual website.

The second instance where you may want to edit the hosts file is because it is a highly effective means of blocking known suspicious sites that may attempt to deliver unwanted advertising to disrupt your surfing experience, or even download viruses or other malware to your computer.

Editing your hosts file incorrectly can have adverse effects on your Mac. You should only attempt to edit the hosts file if you have a clear purpose for doing so and are confident in your understanding of Terminal commands.

Editing the Hosts File in Mac OS X

1.) To begin editing the hosts file, you will need to use a Terminal window. Open one either by clicking on Applications, then Utilities and then Terminal, or by pressing Cmd-Spacebar to open Spotlight, typing Terminal and pressing Return. The Terminal window should look like this:


Terminal-Window.png


2.) We now need to open the hosts file for editing in the Terminal. We do this be entering the following command (or Copy and Paste from below) at the Terminal prompt:

sudo nano /private/etc/hosts

Press Return. Terminal will ask you to enter your Administrator Password:


Terminal-Window-Hosts-File-Command.png


Do so and again press Return.

3.) The hosts file will open in the Terminal window for editing:


OS-X-Hosts-File.png


To navigate the hosts file, use your arrow keys to move up and down. The lines beginning with the hash (#) symbol are comments and should not be edited. There will also be some default mappings, such as the entry 127.0.0.1 for localhost.

4.) Use the ↓ Arrow Key to move the cursor to a blank space at the bottom of the hosts file, and enter your new mapping here. In the following example, we are adding an entry to prevent the Doubleclick Advertising server from sending files to our web browser:


OS-X-Hosts-File-Adding-Entry.png


5.) To save the hosts file after editing, press Ctrl-o. This will bring up a prompt for the file name to write to:[/img]


Press Return to save the hosts file. You can then exit editing the hosts file by pressing Ctrl-x. This will return you to the Terminal prompt:


http://www.switchingtomac.com/wp-content/uploads/2010/10/OS-X-Terminal-Window-After-Editing.png

6.) For the changes to your hosts file to take effect, you must first flush your DNS cache. To do so, enter the following command (or Copy and Paste from here) at the Terminal prompt:

dscacheutil -flushcache

Press Return. You can now exit the Terminal and your new host mappings will be in effect.

For more information on using the hosts file to prevent adware, spyware and other malicious software, we recommend .

visiting Blocking Unwanted Parasites with a Hosts File. The site tracks all reported problematic host names, and prepares a list of problem

sites that is updated every few weeks. http://www.mvps.org/winhelp2002/hosts.htm


The site is primarily Windows-focused, but the problem sites listed in their hosts .txt file can be used in the OS X hosts file by replacing each instance of “127.0.0.1″ with “0.0.0.0″. Please note this does not include the “127.0.0.1 local host” entry mentioned above, which should never be altered.

For advanced users, editing the hosts file can be very useful in certain situations. However, we once again emphasize that you should not attempt to do so unless you are confident in using the Terminal and have a clear reason to edit the OS X hosts file.
SISammin33 avatar
Posted: Fri Jan 06, 2017 09:27
Author:
I see that the post is old, but I read with interest. Thank you!

Post a Reply    

Forum Search


  search in post message
  search in topic subject
Forum


Home - Browse Torrents - Upload Torrent - Stat - Forum - FAQ - Login
ExtraTorrent.cc is in compliance with copyrights
BitCoin: 12DiyqsWhENahDzdhdYsRrCw8FPQVcCkcm
Can't load ExtraTorrent? Try our official mirrors: etmirror.com - etproxy.com - extratorrentonline.com - extratorrentlive.com
2006-2017 ExtraTorrent.cc1