LinuxCommandLibrary

hostess

hostess

TLDR

List domains, target IP addresses and on/off status

$ hostess list
copy


Add a domain pointing to your machine to your hosts file
$ hostess add [local.example.com] [127.0.0.1]
copy


Remove a domain from your hosts file
$ hostess del [local.example.com]
copy


Disable a domain (but don't remove it)
$ hostess off [local.example.com]
copy

Copied to clipboard