Sleezr
Buy Sleezr

Local development

Custom domains, HTTPS, Docker and DNS tips for a clean local development setup.

4 min read
localhostsubdomainslocal development

How to Use Subdomains on localhost for Local Development

Use subdomains on localhost: the free *.localhost trick browsers resolve automatically, fixed subdomains via the hosts file, and wildcard subdomains with dnsmasq on Mac and Linux.

S

Sleezr Team

Developer tools team

3 min read
0.0.0.0127.0.0.1networking

0.0.0.0 vs 127.0.0.1: What’s the Difference?

0.0.0.0 vs 127.0.0.1 explained: 127.0.0.1 is loopback-only, while 0.0.0.0 binds to all interfaces. When to use each for local servers, Docker and security.

S

Sleezr Team

Developer tools team

2 min read
localhost127.0.0.1DNS

What Is localhost? A Clear Explanation

What is localhost? It is the hostname for your own computer, resolving to 127.0.0.1 (or ::1) via the hosts file. How it works, why it matters, and common issues.

S

Sleezr Team

Developer tools team

2 min read
hosts filednsmasqwildcard

Wildcard Local Domains: hosts File Limits & dnsmasq

The hosts file does not support wildcards like *.myapp.test. Learn why, and how to set up wildcard local domains with dnsmasq on macOS and Linux.

S

Sleezr Team

Developer tools team

10 min read
hosts filemultiple environmentsproject management

Manage Multiple Hosts Files by Project

Manage hosts file configurations for dev, staging and production. Switch project setups, version configs and streamline team workflows.

S

Sleezr Team

9 min read
Dockerhosts filemacOS

Using Hosts Files for Docker Development on Mac

Configure hosts files for Docker, docker-compose and container networking. Map services to local domains and simplify Mac development.

S

Sleezr Team

10 min read
hosts fileteam collaborationconfiguration sharing

Share Hosts File Configurations With a Team

Share hosts file configurations with your team using version control, export/import, documentation and collaboration workflows.

S

Sleezr Team

11 min read
DNSDNS resolutionnetworking

DNS Resolution Explained: Hosts, Cache and TTL

Learn how DNS resolution works from the hosts file to recursive DNS servers, cache, TTL and CDNs, with a clear browser request walkthrough.

S

Sleezr Team

8 min read
local developmentmacOSDocker

Local Development Environment on Mac (2026)

Set up a perfect local dev environment on macOS. MAMP vs Laravel Valet vs Docker comparison, .test domains, local HTTPS with mkcert. Complete checklist.

S

Sleezr Team