Say Goodbye to localhost: Accessing Local Apps with Custom Domains
2025-04-10
Tired of remembering complex `localhost:XXXX` port numbers? The author shares a clever method using launchd daemons, the `/etc/hosts` file, and the Caddy server to map local apps to custom `.localhost` domains, such as `appname.localhost`. This simplifies accessing local development applications, but the author also envisions a future where these domains can be managed with a single command.
Read more
Development
domain configuration