Edit the Hosts File – Mac

Overrides DNS and maps a specific domain name to an IP address that you define.