app.example.com, as the public address of your service. BoxLite verifies your DNS records and manages the HTTPS certificate. For a hostname provided by BoxLite, follow Managed domain.
Before you start
Install the latest CLI in your local terminal:app is the saved context used throughout this guide. Use the same organization in the console and CLI.
Bring your own domain
Use this route for a hostname you own, such asapp.example.com. You need access to its DNS provider and an active organization subscription. The Custom domain option must be enabled for your deployment.
1
Add your subdomain
In the same organization, open Domains → Custom domain → Add custom domain. Enter your public subdomain and click Get DNS configuration.Use an ASCII or Punycode subdomain, such as
app.example.com. Apex domains such as example.com and wildcards such as *.example.com are not supported.If you already started configuring this hostname, adding it again resumes that configuration. Delete an existing configuration before adding a different hostname when your slot is occupied.2
Add the three DNS records
At your DNS provider, add every record shown in the console. Copy each Name and Value exactly; use the values generated for your configuration.
If you use Cloudflare, set both CNAME records to DNS only. If your DNS editor automatically appends the zone suffix, enter relative names and check the resulting full record names. Keep the certificate authorization record separate from the traffic record.
3
Verify DNS and wait for HTTPS
Return to BoxLite and click Configured, verify. Fix any failed DNS records, wait for the changes to propagate, and verify again.After DNS verification succeeds, BoxLite continues setting up HTTPS. Wait until the status is Ready before binding a box. If HTTPS setup fails, click Retry. If the page shows Setup completed instead of Ready, check that your organization has an active subscription.Keep all three DNS records after setup: routing and certificate renewal depend on them.
Publish your service
Use the hostname saved inDOMAIN below.
1
Choose the service to expose
- Existing service
- Try a sample server
Set the box ID or name and the port your service listens on inside the box:Replace
29090 with your service’s port. The service must listen on 0.0.0.0, rather than only 127.0.0.1.2
Open the port and bind the domain
3
Open your fixed URL
Open The header skips the preview notice for scripted requests; it does not grant access or bypass your application’s authentication.You should receive your service’s response. For the sample server, look for Directory listing for /. Share this HTTPS address with your clients; they do not need the box ID or internal port.
https://<YOUR_FULL_DOMAIN> in your browser, or request it from your terminal:Manage the service
To move the domain to another box, prepare the new service and its public tunnel, then rundomain bind again with the same hostname and the new box and port. This changes routing; it does not copy application data.
To stop routing the domain while keeping its configuration:

