Sign in. Browse Search. Ask a question. User profile for user: Mac OS X Speciality level out of ten: Can anyone tell me how to restore back my hosts file or how the default one looks like? More Less. Question marked as Solved User profile for user: Notebooks Speciality level out of ten: Our friend etresoft has provided a good article about hosts files.
First the rerouted IP address and then the corresponding domain name.
Messed Up Hosts? How to Restore the Original Default /etc/hosts File in Mac OS X
Make sure that there is a space between the IP address and the domain name, otherwise it won't work. If you don't want your Mac to access certain websites, use This will reroute the address back to your Mac. For example, if I wanted to block the access to Facebook on a particular Mac, I would edit hosts file to look like this: Your Mac will ask if you want to replace the file, which you do, and you will have to enter your administrator password to save the changes.
Remember, even if you own the domain name you are rerouting, the web address itself will not be affected. The hosts file only changes what happens on the Mac that contains it. So if you have set one domain to be sent to another site, this depends on the IP address staying the same.
If the destination website changes its IP address, your new route will no longer be valid, with the domain either ending up in a new website or producing an error message.
How to Reset/Restore Hosts file to its Original Version in Mac/Windows
If your server is still taking too long to process requests, it may not be the DNS lookup that is slowing you down. Anyone reading this is concerned enough about privacy and security to want to find a solution. Some of these fixes take time.
Other solutions are fairly quick and easy to implement. Of course, there is the manual way, as outlined in this article, or you can save a lot of time with one download and a few clicks to remove any digital footprints you want to delete. Give it a try, or go through the steps outlined above to do this manually. At this point, the hacks should be undone. There is no need to restart your machine, but it would probably be a good idea anyway.
The Mac OS X hosts file
Will this make your machine faster? There is no way to tell. It will, at least, allow people to continue to help you here on Apple Support Communities. Communities Contact Support. Sign in. Browse Search.
- deer hunter 2014 iphone hack no survey mac.
- quicktime player 9 mac download;
- mac os x mountain lion hard drive space.
- How to Reset/Restore Hosts file to its Original Version in Mac/Windows.
- thrustmaster dual analog 3 mac.
- All replies.
- How to Edit the Hosts File on Mac OS X.
Ask a question. User profile for user: Mac OS X Speciality level out of ten: There are three primary reasons for modifying this file: Developing internet services on your Mac. Developers can add entries like www.
- How to edit your Mac's hosts file and why? Tips & tricks!
- mac better than pc meme?
- I think my 'etc/hosts' file is broken - Apple Community.
- how to make an en dash on mac keyboard.
- How to Restore the Original Default hosts File in Mac OS X - HOSTING.
- How to Edit the Hosts File on Mac OS X - TekRevue?
- mac archie collection launch date?
This allows them to develop a web site for www. 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. Someone using it in this fashion might have 5 entries in the file. A crude internet filter. What is "undesireable" you ask? Good question. You will have to ask the people who are pushing that list.
How to edit the hosts file with Terminal
It was not designed for this. Someone using it in this fashion might have entries in the file.
To pirate software.