/etc/hosts (The Hosts File)

127.0.0.1 abc.localhost

On most systems, the hosts file is located at:

  • Windows: C:\Windows\System32\drivers\etc\hosts
  • macOS and Linux: /etc/hosts