Skip to content

Instantly share code, notes, and snippets.

@joar
Created September 9, 2011 13:08
Show Gist options
  • Save joar/1206164 to your computer and use it in GitHub Desktop.
Save joar/1206164 to your computer and use it in GitHub Desktop.
  • Find and open your hosts file.
    You need administrative rights to edit the file

    Windows
    Right click -> Run as Administrator on the notepad icon, or the icon of any other editor.

    Linux
    On the command line:
    sudo <editor> <hostsfile>, e.g sudo emacs /etc/hosts
    or if you don't have sudo access:
    su - then <editor> <hostsfile>

  • Add

    69.164.222.84	bugs.foocorp.net
    

    at the end.

  • Go to http://bugs.foocorp.net, you might have to reload the page two times or restart your browser; because of DNS caching.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment