AngularJS, Grails

Aliasing Localhost URL in Mac OS

Have you ever wanted to use https://something.i.want.com:8080 instead of the same old boring https://localhost:8080 ? Well here is how you do it on Mac OS. By default, the IP of localhost is 127.0.0.1. 'localhost' itself is an alias. To make it your own follow the instructions below. 1. With sudo access vi /etc/hosts $sudo vi...

by Sumit Navin
Tag: url hosts
25-Aug-2021