Getting a Vultr server up and running with Ubuntu is one of the most common tasks for developers, freelancers, and startups. But "common" doesn't mean "obvious" — there are traps that can leave your server exposed or underperforming. This guide walks you through the entire process, from zero to a hardened, production-ready web server.
Before we start, make sure you have:
Log into your Vultr dashboard and click Deploy New Server. Here's what to choose in 2026:
| Setting | Recommended | Why |
|---|---|---|
| Location | Closest to your users | Minimize latency |
| Server Type | Cloud Compute → Regular | Best price/performance ratio |
| OS | Ubuntu 22.04 LTS or 24.04 LTS | LTS = stability, 5-year support |
| Size | 2 vCPU / 4GB RAM / 80GB SSD | $24/mo — handles most workloads |
| SSH Key | Add your public key ✅ | Password-free, more secure |
Click Deploy Now. Your server will be ready in about 60 seconds.
Once your instance shows as "Running," copy the IP address from the dashboard and connect:
Accept the host key fingerprint if prompted. You'll land at the Ubuntu terminal — time to set up the basics.
Never skip this step on a fresh server. Updates patch critical vulnerabilities:
Never run day-to-day operations as root. Create a regular user with sudo privileges:
Log out and reconnect as deploy to verify the account works:
OpenSSH on Ubuntu is reasonably secure out of the box, but we can make it significantly harder for attackers. Edit the SSH config:
Set these values:
After saving, verify the config and restart SSH:
Ubuntu includes UFW (Uncomplicated Firewall) by default. Configure it before enabling:
Verify your rules:
You should see only ports 2222 (SSH), 80, and 443 open. Everything else is denied by default — exactly what you want.
Nginx is the go-to web server for most Ubuntu deployments. Install it:
Nginx starts automatically. Let's verify it's running:
You should see active (running). Now configure a basic site. Create a new config:
Paste this production-ready config:
Enable the site and test Nginx config:
Add an A record in your DNS provider pointing to your Vultr server's IP:
| Type | Name | Value | TTL |
|---|---|---|---|
| A | @ | YOUR_SERVER_IP | 300 |
| A | www | YOUR_SERVER_IP | 300 |
DNS changes can take anywhere from 5 minutes to 48 hours to propagate globally. Test locally:
If you see HTTP/1.1 200 OK — your server is live.
Before you deploy anything on this server, run through this checklist:
🚀 Ready to deploy? Vultr's $100 free credit gets you started with zero commitment.
Deploy Your Ubuntu Server →Your base server is locked down and running. From here, you can:
If you're evaluating Vultr against other providers for your next project, check our Vultr vs DigitalOcean vs Linode comparison for a detailed breakdown of pricing, performance, and features.
A properly configured Ubuntu server on Vultr is one of the most cost-effective infrastructure choices available in 2026. The $24/month plan handles thousands of daily visitors comfortably. The key is not skipping the security hardening — a misconfigured server is a liability, not an asset.