A private machine is a computer that nothing on the internet can reach: a PC, a home server, or a VM behind a router. dPanel never connects to it. Instead, you run one command on the machine, which installs the dPanel agent, and the agent keeps an outgoing connection to dPanel. The machine then shows up on your servers page.
What you need first
- A Linux machine with systemd, such as Ubuntu or Debian, on Intel/AMD (
amd64) or ARM (arm64). - A terminal on that machine where you can use
sudo. - Internet access from the machine. It only connects out, so no port forwarding is needed.
Register it
Install the dnocs command line tool on the machine. Follow Install dnocs.
Sign in, and pick the workspace the machine belongs to (skip this to keep it in your personal space):
bashdnocs auth login -u <your username> dnocs workspace list dnocs workspace set --id <workspace id>Register the machine:
bashsudo dnocs machine registerdnocs asks you to confirm, installs the agent, and waits until the server is ready. That usually takes under a minute.
The server now appears on your servers page with a Private badge.
What you can do with it
| You can | Not yet |
|---|---|
| See CPU, memory and disk usage | Deploy automatically on every GitHub push |
| Browse and edit files | |
| Start, stop and restart services | |
| Read logs | |
| Manage Linux users | |
| Install modules such as MariaDB, Redis or Docker | |
| Build and deploy applications | |
Open a terminal in the browser or with dnocs server exec |
How modules and apps get installed
A private machine runs its own installer, so nothing on the internet needs to reach it. The first time you install a module or deploy an app, the agent sets up the installer on the machine (Python and Ansible, about a minute and a half), then the installer runs the job on the machine itself and stops again after 10 quiet minutes. If the machine is off or offline when you start an install, the install waits and then fails; start it again once the machine is back.
A private machine can never have a load balancer or a domain: nothing on the internet can reach it. Apps you deploy to it listen on the machine itself, so you open them on your own network at the machine's address and the app's port, for example http://192.168.1.20:3000.
Register it again
Running sudo dnocs machine register again on the same machine keeps the same server in dPanel and gives its agent a new credential. A machine belongs to one workspace at a time, and a workspace can hold up to 10 private machines.
Remove it
Delete the server in dPanel (from its page, or with dnocs server delete --id <id>). dPanel removes it at once, and the agent's credential stops working. Then stop the agent on the machine:
sudo systemctl disable --now dpanel-active-agent