Many domains, one IP
All domains point to the same public IP. nginx reads the name on each request and sends it to the right project; a project can also have several domains.
Projects and reverse proxy
A server has a single public IP, but it can serve many domains and projects. The key is the reverse proxy: nginx receives every request and hands each one to its project. SERVILINUX sets it up for you.
Swipe the diagram to see all of it
Each color follows a domain: it reaches the public IP, nginx recognizes it by name, adds HTTPS and hands it to its project. Apps listen on local ports that cannot be seen from the internet; the website is served directly by nginx. Below, how much memory each part uses (rough figures).
All domains point to the same public IP. nginx reads the name on each request and sends it to the right project; a project can also have several domains.
Node.js and AdonisJS apps listen only on 127.0.0.1, each on its own port. From the internet only 80 and 443 are open, and everything goes through nginx.
nginx holds each domain’s Let’s Encrypt certificate and renews it automatically. Before requesting it, SERVILINUX checks that the domain really reaches your server, even through a proxy.
Each project has its own system user, its service with automatic restart and saved versions: if a deployment fails, it rolls back to the previous version on its own.
It depends mostly on memory and traffic. As a guide:
| Memory | Static and light PHP sites | Node.js / AdonisJS apps |
|---|---|---|
| 1 GB | 5 to 10 | 1 or 2, without a local database |
| 2 GB | 10 to 20 | 3 or 4, with a small database |
| 4 GB | 20 or more | 6 to 8, with a database |
| 16 GB | Dozens | 20 or more, with large databases |
Rough figures for moderate traffic. A busy project may need a server of its own; Sentinel shows the real memory each server uses.
In SERVILINUX
An A record to the server IP, or use the free temporary domain.
Static, PHP, Node.js or AdonisJS: each gets its own port and user.
Manually or automatically on each push, with rollback if something fails.
One click per domain; nginx is set up as the reverse proxy.
Connect your first server in minutes. The rest, from any cloud you prefer, join the same panel.