Localhoster
A port-forwarding system for local web apps. Allows you to easily access localhost
with custom domains under the .dev
TLD. For example, you can forward
mytestsite.dev
=> localhost:3000
.
Heavily inspired by pow and local-tld.
Easy setup
- Install localhoster with
npm install -g localhoster
- Create a
~/.localhoster
file -- something like this:
- There is no step 3.
http://mytestsite.dev
now forwards tolocalhost:3000
, andhttps://mytestsite.dev
forwards tolocalhost:4000
.