Hetzner servers, set up from your Mac.
ServerDog is a native Mac app that creates a Hetzner cloud server in your own account and sets it up for Laravel, PHP, WordPress or Node sites. You give it a Hetzner API token, which stays in your Mac’s Keychain, and choose a region, size and server type. Setup takes about 8 to 12 minutes, and Hetzner bills you for the server directly.
By ServerDog. Updated .
Key facts
- ServerDog creates Hetzner servers in your own account with an API token that has read and write access. The token is kept in your Mac’s Keychain and sent only to Hetzner.
- Servers run Ubuntu 24.04 or 26.04. Setup usually takes 8 to 12 minutes and runs on the server, so you can close the window.
- ServerDog generates the login key on your Mac, and the new server accepts key logins only.
- ServerDog sets up the UFW firewall on the server. It does not create a Hetzner cloud firewall or private network.
- Removing a server from ServerDog leaves it running at Hetzner unless you choose to delete it there too.
1. Add your Hetzner account
In ServerDog’s Settings, add a server provider and paste an API token. In Hetzner Cloud Console, open the project, then Security › API Tokens › Generate API Token with Read & Write.
ServerDog checks the token by loading Hetzner’s list of regions and sizes, then keeps it in your Mac’s Keychain. It is sent only to Hetzner. ServerDog creates servers in your own account, and Hetzner bills you for them directly.
2. Choose the server
Choose Add Server, then a region, a size and Ubuntu 24.04 or 26.04.
- Sizes are listed with their vCPUs, memory, disk and monthly price, and Arm sizes are marked.
- ServerDog suggests the cheapest x86 size with at least 2 GB of memory.
- MySQL is not available on Ubuntu 24.04 on Arm servers; choose MariaDB or PostgreSQL there, or an x86 size.
3. Choose what it runs
Pick a server type. Each installs only what that role needs.
| Server type | What it installs |
|---|---|
| App server | Everything an application needs: Nginx, PHP, a database, Redis, Memcached, Node.js and Supervisor. |
| Web server | Nginx and PHP for HTTP traffic, without a database or cache. |
| Load balancer | Nginx only, to spread traffic across your web servers. |
| Database server | MySQL, MariaDB or PostgreSQL, and nothing else. |
| Cache server | Redis and Memcached, and nothing else. |
| Worker server | PHP and Supervisor for background jobs. No web traffic. |
| Meilisearch server | A Meilisearch search engine. |
Where the type includes them, you also choose the PHP version, from 8.5 down, and the database: MySQL 8.4, MariaDB 11.8 or PostgreSQL 18.
What does ServerDog do when it creates the server?
- It generates a passphrase-protected ed25519 login key on your Mac.
- It uploads the public key to Hetzner, creates the server, then deletes the key from your Hetzner account.
- It waits for the server to answer over SSH with the host key it expects.
- It sets the server up: system updates, SSH access, the firewall, Nginx, PHP and Composer, the database, the extras you chose and the ServerDog agent.
If the new server can’t be reached, ServerDog deletes it so it isn’t billed. Once setup starts it runs on the server itself, so you can close the window or put your Mac to sleep.
How is the server secured?
- Password login is turned off. Root can log in only with a key.
- The UFW firewall allows SSH, and ports 80 and 443 only on app servers, web servers and load balancers.
- Automatic security updates are turned on.
- The ServerDog agent listens on a Unix socket that only root can open. It has no network port.
ServerDog does not create a Hetzner cloud firewall or private network. Read how ServerDog reaches your servers.
What happens when you remove the server?
By default, removing a server only makes ServerDog forget it. The server keeps running at Hetzner with everything installed, and you can add it again at any time. To delete it at Hetzner as well, turn on that option in the dialog. It destroys the server with its sites, databases and files, and can’t be undone.
What to do next
Questions
Can I use Hetzner without Laravel Forge or Ploi?
Yes. ServerDog creates the Hetzner server, installs Nginx, PHP, your database and Node.js, and deploys your sites from a Mac app. Your Hetzner API token stays in your Mac’s Keychain instead of a hosted panel’s database.
Does ServerDog create a Hetzner firewall or private network?
No. ServerDog sets up the UFW firewall on the server itself and does not create a Hetzner Cloud firewall or network. You can add those in the Hetzner console.
Where does ServerDog keep my Hetzner API token?
In your Mac’s Keychain. ServerDog sends the token only to Hetzner, to list sizes and regions and to create or delete servers you ask for.
Who bills me for a Hetzner server made with ServerDog?
Hetzner does, directly. ServerDog creates the server in your own Hetzner account and shows each size’s monthly price before you choose. ServerDog itself is a one-time purchase.
Can ServerDog manage a Hetzner server I already have?
Yes, if it is a fresh Ubuntu 24.04 or 26.04 server you can reach as root over SSH. Add it by its address instead of creating a new one. ServerDog’s setup stops on a server that already runs Apache or another control panel.
What happens to the Hetzner server if I remove it from ServerDog?
Nothing, by default: the server keeps running with everything installed. Deleting it at Hetzner is a separate option you have to turn on, and it destroys the server with its sites and databases.
Last updated by ServerDog.