On Mac, do -

sudo nano /private/etc/hosts and plug in your local IP and give it a domain. That’s all! No more typing out local IPs.

Of course, it’d be better if it’s setup with DHCP and bind9, but this works just fine.