- Developing internet services on your Mac. Developers can add entries like www.myhost.com that redirect back to localhost. This allows them to develop a web site for www.myhost.com and test it while running on their Mac. No one on the internet will see the version of the site under development. Then, when it is perfect, they can publish it to the real www.myhost.com server for everyone else to see. This is what the /etc/hosts file was designed to do. Someone using it in this fashion might have 5 entries in the file.
- A crude internet filter. There are web sites promoting the use of /etc/hosts to block certain “undesireable” websites by redirecting them to a non-functional server. What is “undesireable” you ask? Good question. You will have to ask the people who are pushing that list. This is not a valid use of the /etc/hosts file. It was not designed for this. Someone using it in this fashion might have 2000 entries in the file.
- To pirate software. Many expensive software packages, primarily Adobe and Microsoft products, will “phone home” to their corporate offices to verify that the software being used on someone’s Mac is a valid and properly licensed version of the software. This is not a valid use of the /etc/hosts file. It was not designed for this. Someone using it in this fashion might have 23 entries in the file.
- For other miscellaneous hacks. I can’t go into detail about this one. In some situations, these hacks can be perfectly legal. But this User Tip is not about individual rights, it is about undoing hacks that may be making your Mac very slow.
Plus, hacked software frequently includes a variety show of malware like adware, command and operate bots, or true viruses. If you provide your password to install the hack software, you are giving it, and the malware, full manipulate over your car and all of your data. Encrypting your data will not help.
If a Mac has been hacked in this way to run pirated software, and the user is complaining about a decelerate Mac, it is safe to assume that at least some software on the organization is not running by rights. We know that because it has been hacked to keep it ( or at least the license management assign ) from running properly. The first gear mistreat to fixing a ill perform machine is to fix obvious problems like this one. unfortunately, most people who hack their system in this room use instructions posted on the internet and they do n’t know how to undo the wrong. This User Tip will explain how to do that.
- The first step is always to uninstall any pirated software. Do that before undoing your hack because you may need it working in order to uninstall it. Use only vendor-provided uninstaller or uninstallation instructions. Never delete files by hand. You could leave your Mac in worse shape than when you started.
- Download BBEdit (https://www.barebones.com/products/bbedit/) from Bare Bones Software. There are other programs you could use, but if you know what they are and how to use them, then you probably don’t need this User Tip to begin with.
- Launch BBEdit.
- In BBEdit, choose File > Open…When the Open box appears, hold down the Shift key, the Command ⌘ key, and type the G key.
- In the Go to the folder: sheet that appears, type: “/etc” (without the quotes) and click the Go button.
- Click the Options button.
- Check the Show Hidden Items checkbox.
- Find the hosts file and click the Open button.
- At this point, BBEdiy may ask you to install a helper file and/or unlock the file. Click the Unlock button. To install the helper tool, you will have to provide an administrator user name and password. Normally I strongly discourage people from doing this. But in this case, we have to undo a hack, so there is no alternative.
- Select the following text and choose Edit > Copy from Safari’s menu (or from whatever web browser you are using).
# # # Host Database #
Read more: Medical Website Hosting | RemedyConnect
# localhost is used to configure the loopback interface # when the arrangement is booting. Do not change this introduction. # # 127.0.0.1 localhost 255.255.255.255 broadcasthost : :1 localhost
- In BBEdit, choose Edit > Select All and then choose Edit > Paste. The contents of the BBEdit window should be the same as the text above. If not, close the BBEdit window without saving and start over. Do NOT save.
- If the contents of the BBEdit window are the same as the text above, choose File > Save.Quit BBEdit.
Read more: How to Make Your Own Website Without a Host
At this point, the hacks should be untie. There is no indigence to restart your machine, but it would credibly be a thoroughly theme anyhow.
Will this make your machine faster ? There is no way to tell. It will, at least, leave people to continue to help you here on Apple Support Communities .