Open the windows hosts file for editing in administrator mode code example Example: edit hosts file mac terminal sudo nano /etc/hosts