custom-local-domain
v1.0.1
Published
Edits the /etc/hosts file on a machine to redirect local domains to a proxy which forwards to specific ports
Readme
custom-local-domain
Proxy that lets you create custom domains locally that are proxied to a specific target.
Usage
npm install -g custom-local-domain
custom-local-domain start home.dev 127.0.0.1:8080Add a local port
custom-local-domain add another.dev 127.0.0.1:8091Add a local directory
custom-local-domain add localdirectory.dev ./distList the current domains
custom-local-domain listClear the extra domains
custom-local-domain clear