host file mac ip address to local code example Example: view host entires mac terminal sudo nano /etc/hosts