How it works
lcl.host (opens in a new tab) subdomains support local application development by always resolving to 127.0.0.1 aka localhost. For example, while developing my-app on port 3000, you can access your server at: [http://my-app.lcl.host:3000/ (opens in a new tab)]. No setup required.
X.509 Certificates via Anchor
When you create Anchor account, we automatically create:
- A personal organization based on your GitHub login.
- A localhost realm & CA ready to issue *.lcl.host subdomain certificates.
This makes setting up development services with lcl.host subdomains quick and easy. For example, creating a my-app service will provision my-app.lcl.host certificates.
DNS Records
The DNS records for all subdomains of lcl.host will aways resolve to 127.0.0.1 for A records and ::1 for AAAA records.