Develop, Test, Preview
with Production URLs
Configure within 1 minute, then switch with 0 delay between local development, tests and preview deployments all with production domain enabled.
npx devhost@latest
No installation required. Run directly with npx.
No Sudo
Devhost doesn't need elevated privileges to run. No sudo, no root.
Ultra Smooth
No refreshing, no waiting for browser to pick up hosts file changes. click and it works instantly.
Zero Config
Copy and paste command and it works.
How It Works
DevHost listens on your local hosts and forwards requests at your will. It handles everything for you so you can focus on shipping.
Run DevHost
Execute npx devhost@latest
in your terminal.
Create Your Proxy
What you put in address bar (e.g. https://www.example.com)
Add the Target
The server, (e.g. http://localhost:3000 for dev, https://example.com for prod, https://xxx-preview.vercel.app for preview)
$ npx devhost@latest
Configuring Hosts...
Configruing locla CA
✓ Devhost started successfully!
Your development server is now available at:
https://www.example.com
Press Ctrl+C to quit and keep Hosts edits
Press q to quit and clean up
Ready to simplify your development workflow?
Start using DevHost today and experience seamless local development with production-like URLs.
npx devhost@latest