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.
- Go to the file
Macintosh HD/private/etc/hosts - Drag the file and open using the Terminal
- Enter the system password when prompted in the Terminal
- Add the IP of your machine followed by the required local address
101.1.1.33 sky-zilla.dev www.sky-zilla.dev - Save the file
Joseph