Domain only


In the domain-only setup, LocalCan will only publish the mDNS service for your specified domain, allowing you to access your app using domain names instead of IP addresses. However, in this scenario, you must keep the original ports as they are (e.g., a server running on localhost:3000 will respond to a domain like myapp.local:3000).

To set up a domain-only configuration:

  1. Launch the LocalCan app and click Add domain button in the sidebar.
  2. Select “Domain only” and click Continue.
  3. Enter the desired domain name, type and port.
  4. Click Add domain.
  5. If you’ve selected https, make sure to trust the Root CA, to avoid “This connection is not private” message.

Configure with YAML

LocalCan 3.0 Beta

YAML project files and the localcan CLI are new in 3.0. See Installation to install the beta.

Domain-only endpoints set proxy: false so requests skip the LocalCan proxy entirely:

YAML
services:
  web:
    target: http://localhost:3000
    endpoints:
      - url: my-app.local
        proxy: false

Run localcan reload to pick up the file. See Configuration → Projects.

© 2026 LocalCan™. All rights reserved.