How to edit hosts file on Mac OSX

Edit this file /private/etc/hosts. Terminal $ sudo nano /private/etc/hosts ## # Host Database # # localhost is used to configure the loopback interface # when the system is booting. Do not change this entry. ## 127.0.0.1 localhost 255.255.255.255 broadcasthost ::1 localhost fe80::1%lo0 localhost 127.0.0.1 mkyong-mac 198.x.x.x linode-bot1 1.2.3.4 www.google.com References What is the difference between …

Read more

Windows 10 – Edit Hosts file

In this tutorial, we will show you how to add a mapping of IP addresses to host names in the Windows Hosts file. Windows Hosts file C:\Windows\System32\drivers\etc\hosts 1. Notepad – Run as Administrator In desktop, left-bottom search box, type notepad, right click on the notepad icon and select run as administrator. 2. Edit hosts 2.1 …

Read more