Updating Host file on a Mac

If you would like a web address to just point to your local development environment. You will need to edit your local host file.

  1. Go to the file
    Macintosh HD/private/etc/hosts
  2. Drag the file and open using the Terminal
  3. Enter the system password when prompted in the Terminal
  4. Add the IP of your machine followed by the required local address
    101.1.1.33 sky-zilla.dev www.sky-zilla.dev
  5. Save the file