xxxxxxxxxx
##
# 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
# Custom entries can be added here
xxxxxxxxxx
Using mac
cd /private/etc/
ls -al
sudo nano hosts
// type password and edit file , then
contrl+ 'x'
then 'y'
then 'enter' with same filename