Skip to content

Documentation v1.3.1

Add a Custom Domain

Connect a domain you own to a Localtonet tunnel and use it with automatic HTTPS.

Prerequisites

Steps

  1. Open the DNS Manager, click Add Domain, and enter only the root domain, such as yourdomain.com. Do not include www or another subdomain. See the DNS Manager example.
  2. At your registrar, replace all existing nameservers with only ns1.localtonet.com and ns2.localtonet.com, then save.
  3. Wait for DNS propagation. It usually completes within 1–2 hours but can take up to 48 hours. You can check it at dnschecker.org.
  4. Open the HTTP Tunnel page and click Create New Tunnel.
  5. For Process Type, select Custom Domain. Select your domain, then enter a subdomain such as app for app.yourdomain.com, or leave it blank to use the root domain. See the configuration example.
  6. Enter the local service IP and port, such as 127.0.0.1 and 3000 or 8080.
  7. Click Create, then Start. Localtonet automatically provisions and renews the TLS certificate.

DNS management

After changing the nameservers, manage all A, CNAME, MX, and TXT records in the Localtonet DNS Manager, not at your registrar. See the DNS records example.

support