Applications
Host multiple websites on one VPS
Use NGINX to serve several domains from one server while keeping each site’s files, configuration, and logs separate.
Last updated:
One VPS can host several small websites or applications. NGINX reads the requested hostname and sends each request to the correct document root or backend service.
When sharing a server makes sense
This works well for company sites, landing pages, small customer projects, and internal tools with similar maintenance and security requirements. It can reduce cost and keep related sites in one place.
All sites still share CPU, memory, storage, network capacity, and maintenance windows. Use separate VPS instances when one site needs independent access, stronger isolation, or protection from another site’s traffic and failures.
What the setup looks like
Each domain gets its own NGINX server block, files, access log, error log, and certificate. Dynamic applications can run on separate local ports while NGINX acts as the reverse proxy.
Small is a practical starting point for a handful of lightweight sites. Choose Medium or Large when the server also runs application processes, databases, builds, or stores larger assets. Compare the VPS plans against the combined workload.
What you manage
You manage DNS, certificates, NGINX configuration, application processes, file permissions, logs, backups, and updates. A configuration error can affect every site on the server, so test NGINX before every reload.
The NGINX guide covers installation, multiple server blocks, HTTPS, and routing checks on Ubuntu 26.04.