Docs menuClaimed domains

Claimed tunnel domains

If an integration needs the same public URL in each development session, claim a tunnel domain. You can claim and release domains on the tunnels dashboard or with LPM CLI. A claimed domain is a subdomain of a base domain that LPM.dev Registry enables, such as lpm.llc.

URL types

AccountURL when no domain is suppliedClaimed domains
Pro<username>-<code>.lpm.fyi, where <code> is eight random characters3
OrganizationNone. Connect with a claimed domain of the organization.3 per organization

The account URL does not use one of the three personal claims. It stays the same in each session, and you can also name it as the domain, for example in lpm.json. If you change your username, the account URL changes to the new username and keeps its code.

When you change your username, the old account URL stops working, and a tunnel that is open on it closes. For 90 days, nobody else can claim it, so webhooks and links that still use it reach nobody. During this time, you can claim it to keep it, as one of your three claims.

To start a tunnel on the organization account, name one of its claimed domains. A member without a personal Pro plan must always name one.

All members share the three claims of an organization, on all base domains. More seats do not increase this limit.

List the base domains

lpm tunnel domains

The command lists the base domains that LPM.dev Registry enables now:

  • lpm.fyi, for Pro account URLs and claims.
  • lpm.llc, for claims.

Claim a personal domain

A personal claim needs the Pro plan:

lpm tunnel claim acme-api.lpm.llc

Claims are first-come, first-served in each base domain. acme-api.lpm.fyi and acme-api.lpm.llc are separate names.

The chosen subdomain must:

  • Use lowercase letters, digits, and hyphens only.
  • Be between 3 and 32 characters. Your own username or organization slug, and an old account URL held for you, can have up to 63.
  • Start and end with a letter or digit.
  • Not have hyphens as both the third and the fourth character.

LPM.dev Registry reserves some names:

  • A username or an organization slug is reserved for its account on every base domain. The account can claim it, such as acme.lpm.fyi. A deleted account keeps its username, so its name stays reserved.
  • A name that LPM protects for a company or a project, or holds for an npm user, is reserved on every base domain. Only the account that has the name as its username or organization slug can claim it. For example, nobody can claim stripe.lpm.llc until an account has the name stripe.
  • The names of the tunnel service hosts, such as relay, are reserved on every base domain.
  • The names that no account can have, such as admin or google, and names with official or verified as a part, such as acme-official, are reserved on every base domain.

A claim does not reserve a username or an organization slug. If an account takes the name of your claim later, the claim stays yours.

Claim an organization domain

Organization owners and admins can claim a domain for the organization:

lpm tunnel claim acme-api.lpm.llc --org acme

An organization account can hold up to three claims. The claims belong to the organization. They stay with it when the member who claimed them leaves.

Claim from the dashboard

  1. Open the tunnels dashboard.
  2. Select "Claim domain".
  3. Enter a subdomain.
  4. Choose a base domain.
  5. Select "Claim domain" in the dialog.

For an organization, open the "Tunnels" page of the organization in the dashboard. Only owners and admins see "Claim domain" there. The dashboard applies the same naming rules, roles, and limits as lpm tunnel claim. When all three claims are in use, the dashboard disables "Claim domain".

Start the tunnel

Any current organization member can use an organization domain:

lpm tunnel 3000 acme-api.lpm.llc

Do not pass --org when you start the tunnel. LPM CLI rejects the option there. LPM.dev Registry finds the claim from the domain. If you are a current member of the organization, the tunnel uses the concurrency limit, the included requests, and the billing account of the organization.

The claim is not tied to a local port. A later session can point the same domain to a different port:

lpm tunnel 4500 acme-api.lpm.llc

List claims

lpm tunnel list
lpm tunnel list --org acme
lpm tunnel list --json

Any member of an organization can list its domains. The output shows the URL and base domain of each claim, and how many claims are in use. With --json, the output also has the claim time of each domain.

The tunnels dashboard also lists each claim with its URL and claim date. Users who can release a claim see a "Release" button next to it.

Release a domain

lpm tunnel unclaim acme-api.lpm.llc
lpm tunnel unclaim acme-api.lpm.llc --org acme

lpm tunnel release is an alias for unclaim. Only an organization owner or admin can release an organization domain.

Another account can claim a released name at once.

When a Pro plan ends, LPM.dev Registry releases its personal claims.

Membership and billing

LPM.dev Registry checks organization membership each time a member starts a tunnel on an organization domain. When an owner or admin removes a member, the open tunnels of that member on organization domains close. The removed member cannot start new ones, so offboarding does not require a new domain.

If an organization payment fails, its claims stay usable during the billing grace period. When the grace period ends without a payment, the tunnels of the organization stop. LPM.dev Registry then releases its claims within a day.

During a billing grace period, Pro accounts and organizations can still claim new domains. After the grace period ends, LPM.dev Registry refuses new claims.

Current domain boundary

LPM.dev Registry accepts only the base domains that lpm tunnel domains lists. LPM CLI reads this list from LPM.dev Registry, so a new base domain needs no LPM CLI update. You cannot use a domain from your own DNS.

The LPM CLI tunnel reference shows the exact output of claim, list, and release.

Continue

  • Start a tunnel shows how to bind a local port to a claimed domain.
  • Request inspector shows how to inspect and replay the requests that the domain receives.