跳到内容
Localtonet Localtonet 控制台

此页面暂无简体中文版本,当前显示英文。

Add a Custom Domain

The steps to add a Custom Domain on Localtonet writes information about what needs to be done after creating it.

指南 阅读约 2 分钟 更新于 2026年8月29日星期六 阅读完整博客文章

获取本页帮助
本页内容 3 个章节
  1. Prerequisites
  2. Steps
  3. DNS management

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.

支持