Updating the hosts file
this issue happens usually when you're working on Win Vista/7 with UAC turned on.*** on Win8 you can't just edit the file and save it on it's original location. later replace the original file with the new one you saved on the desktop using the file explorer's Copy-Paste.The HOSTS file is a text file, one that does not have a file extension. The changed HOSTS file will replace successfully the original, and now, if you ping “kuku” you will get the corresponding IP address.It contains lines of text that are made of IP addresses followed by one or more host names or fully qualified domain names (FQDNs). If the IP address corresponding to a name changes and the Hosts file is not updated, you may be unable to connect to the host.
That said, if you’re looking to edit hosts, you’ll want to target the file located in /private/etc/ though.To make a comparison: you do not applications on Linux with "root" regularly but instead elevate with the "su" command or by logging in as "root." Appearantly, administrator users does not gain the privileges of the administrators user group.When I gave the Users group full control of the file I was able to easily save it.Most operating systems, including Microsoft Windows versions, use the hosts file to translate computer names.
Also known as “host names” to numerical IP addresses, the hosts file is similar to using a phone book to find the matching phone number of a specific person’s name.Note: This article was written at the time when Windows 10 was at Technical Preview build phase.