When a service runs inside your workspace, it’s only accessible within the VM by default. To make it reachable from the internet, you create an app - a route that maps an internal port to a public URL atDocumentation Index
Fetch the complete documentation index at: https://docs.rigbox.dev/llms.txt
Use this file to discover all available pages before exploring further.
{name}.rigbox.dev.
How Routing Works
The flow from a running service to a public URL: Each app gets a unique subdomain onrigbox.dev of the form <APP_NAME>.rigbox.dev, where <APP_NAME> is the name you choose when creating the app. HTTPS is handled automatically - your service only needs to listen on HTTP inside the VM.
App subdomains are globally unique across all Rigbox users. If a name is taken, you’ll need to choose a different one.
Discover Listening Ports
Before exposing a port, you can check which ports have active listeners inside the workspace.Create an App Manually
If you know the port and want full control over the app name, create it directly. Replace<APP_NAME> with a name of your choice — it will become the public subdomain.
--workspace <WORKSPACE_NAME> to target a specific VM. Pass --kind cli for interactive tools you’ll invoke over SSH rather than expose as a public service.
See Create App for the API form.
Expose Port Shortcut
The expose-port endpoint detects the process listening on the specified port and creates an app in one call. This is the easiest way to make a service public.Reconcile Template Apps
If your workspace was created from a template that defines default apps (like a web server or API), you can ensure those apps exist with a reconcile call.Check App Health
Before sharing a URL, verify the app is reachable.App Lifecycle: Start, Stop, Restart
Control the routing for an app without affecting the underlying service:| Action | Effect |
|---|---|
stop | Removes the public route. The service inside the VM keeps running. |
start | Re-enables the public route. |
restart | Removes and re-adds the route. Useful if the proxy is in a bad state. |
Update an App
You can rename an app or change its port. Renaming an app changes its public subdomain URL.Delete an App
Deleting an app removes the public route. The service inside the VM is unaffected.Complete Example: Deploy a Python Server
This walkthrough starts a Python HTTP server inside a workspace and exposes it to the internet.Start a service inside the VM
SSH into your workspace and start a simple Python server:Expose the port
From inside the same workspace (or from your laptop with--workspace <NAME>):
rig app new prints the resulting subdomain — https://my-server.rigbox.dev. If you’d rather have Rigbox detect the listening process and pick a name automatically, the Expose Port API endpoint does both in one shot.
Verify health
Share the URL
Once healthy, anyone with the URL can access your service (if visibility is set to public). See App Visibility to control access.Next Steps
- App Visibility - control who can access your apps
- Catalog Apps - install VS Code, Jupyter, and more (routing is handled automatically)
- Workspaces - workspace lifecycle management