GitHub - davewasmer/marathon-dns: Easy custom local DNS - turn localhost:3000 into myawesomeapp.dev

· GitHub

1 min read Original article ↗

A standalone component extracted from marathon for enabling custom DNS for local servers.

Installation

Note: requires >= Mac OS X 10.6

npm install marathon-dns -g

Once it finishes, open up your project file (~/.marathon), and add any projects you'd like. For example, the following project file:

{
  "myawesomeapp": 3000 
}

would setup http://myawesomeapp.dev to point to http://localhost:3000

That's basically it.