Skip to content

Custom Domains

For $9 per month (billed annually) a Custom Domain subscription enables a stable domain for your tunnel with a priority share of the bandwidth on the localhost.run system.

You can use your own domain, or you can use a subdomain of lhr.rocks.

To create a Custom Domain subscription visit https://admin.localhost.run, add your SSH key to your account for authentication and add your chosen Custom Domain to your account.

If you want to use your own domain name, you will need to set up some DNS records on your domain to both verify ownership and route traffic to the localhost.run service as described below.

lhr.rocks subdomains require no DNS setup and are the quickest way to get a tunnel with a stable domain name and faster speeds.

To set up a managed lhr.rocks domain simply enter and check out the one you want, example.lhr.rocks for example, and it will be immediately ready to connect a tunnel to.

Once setup is complete you can connect a tunnel to your domain by adding it to the -R cli argument like this:

ssh -R yourdomain.com:80:localhost:8080 plan@localhost.run

The plan@ username is optional but if you have multiple SSH keys it’s recommended.

Subdomains are included in your custom domain plan

If you set up a custom domain on yourdomain.com you get the option to use subdomains as part of the plan.

This means that you can not only connect tunnels to yourdomain.com, but also to any subdomain of your custom domain, like app1.yourdomain.com and anything-else.yourdomain.com for example.

To enable this functionality follow the regular setup instructions for your custom domain, and once complete, add a CNAME record for *.yourdomain.com pointing at cd.localhost.run.

You can then connect a tunnel to subdomains:

ssh -R app1.yourdomain.com:80:localhost:8081 localhost.run

Changing your domain name

To change to a new custom domain name follow these steps:

  1. Delete your existing custom domain name subscription. This will credit your account for the amount of time remaining on this subscription.
  2. Create a new custom domain subscription. This will use the credit from the cancelled subscription instead of asking for a new payment.

Cancelling a subscription

To cancel a subscription delete your custom domain or cancel in your billing page.

For any other billing related help please email help@localhost.run .