Add a domain pointing to your machine to your hosts file

hostess

  • An idempotent command-line utility for managing the `/etc/hosts` file.
    More information: <https://github.com/cbednarski/hostess>.
  • Trick copyright: tl;dr; <https://github.com/tldr-pages/tldr>

hostess add {{local.example.com}} {{127.0.0.1}}

click the source code to copy install hostess on any operating system with command-not-found.com