POSTS

Update Hosts file in MacOS

- 1 minutes read - 28 words
  • Open the Hosts file with nano:
$ sudo nano /etc/hosts
  • Add the mapping and close nano with ==ctrl== and ==x==.

  • Flush the DNS:

$ sudo killall -HUP mDNSResponder
comments powered by Disqus