Call us now:
VPS Guides
VPS Guides
Every guide on this page was run on a live KodaVPS server before it was published, on the same images we offer and the same defaults we ship. No recycled hosting-blog filler, no steps that only work on someone else's stack. If a command changed because we changed a default, the guide says so.
First steps after provisioning
These five steps turn a fresh server into a machine you can work on. They apply to every Linux image; Windows is covered in Section 3.
Log in with the delivered credentials
Root credentials arrive by email within about 40 seconds of the order on Linux. Sign in over SSH from the IP in that email. If the server is not reachable at all, stop and open a ticket — inside 72 hours of delivery that is our problem to fix, not yours.
Update the package index and install updates
A rebuilt image is current, but a few hours of upstream patches are usually waiting. Applying them before you install software prevents the classic "works after a reboot" mystery later.
Create a non-root user with sudo
Running everything as root is how one typo becomes a reinstall. Add a user, give it sudo, and use it for daily work.
Install an SSH key and disable password login
This single change removes the vast majority of brute-force attempts against your server. Do it before you expose any service. See Section 4 for the exact commands.
Take a clean snapshot
With a working, updated, hardened base, create a snapshot through the dashboard or the API. Restoring to this point takes seconds; rebuilding from scratch takes an afternoon.
ssh root@your.server.ip apt update && apt -y upgrade adduser deploy usermod -aG sudo deploy # from your own machine, then test before disabling password auth ssh-copy-id deploy@your.server.ip ssh deploy@your.server.ip 'sudo whoami'
AlmaLinux, Rocky, and CentOS use dnf in place of apt, and usermod -aG wheel in place of sudo. Fedora follows the dnf family.
Choosing a plan & region
Start smaller than your instinct says. Resize is live and keeps your IP addresses, so growing takes under a minute; shrinking needs a fresh server and a copy, so over-buying is the expensive mistake.
| What you are running | Start here |
|---|---|
| Static site, redirect, small API | Starter — 1 vCPU, 1 GB RAM, 25 GB NVMe. |
| WordPress or a CMS with real traffic | Basic or Pro, depending on concurrent visitors. |
| Managed database | Pro or Business. RAM is the constraint, not disk. |
| Docker hosts with several services | Business, then resize up when CPU steal shows in metrics. |
| Windows RDP workstation | Any plan with Windows Server 2019, 2022, or 2025 — 40 GB minimum disk. |
| Game server | Pro, in the region closest to the players. Ask for the port in a ticket. |
Picking a region
- Latency to your users wins over everything else. Singapore for South-East Asia and Australia, Tokyo for Japan and Korea, Amsterdam or Frankfurt for Europe, New York for North America.
- Data residency —
amsandfrakeep disk contents inside the EU, which is the simplest answer under the transfer position in the Privacy Policy. - Bandwidth is pooled per server and resets monthly, so a media-heavy site in Tokyo does not lose allowance by being far from the host.
- Moving a running server between regions is free and supported — take a snapshot, restore in the target region, and keep the old server until DNS has propagated.
Operating-system setup
Ubuntu 24.04 LTS from order to first site
Update, users, SSH keys, UFW, swap, timezone, and a first Nginx location block. The baseline most other guides assume.
Debian 12: the quiet, stable default
Why Debian ships fewer surprises, plus unattended-upgrades configuration and backports when you need a newer package.
AlmaLinux 9 & Rocky 9: the RHEL path
dnf modules, SELinux in enforcing mode without fighting it daily, and firewalld zones instead of raw iptables.
Fedora 42 on a server: honest trade-offs
Shorter support windows, newer kernels. When that is a feature, and when it will annoy you at 2am.
Windows Server 2025: first logon checklist
Change the generated password, enable RDP for a named user only, configure the Windows firewall profile, and set a maintenance window for updates.
Windows Server roles worth installing
IIS, Active Directory on a small domain, and file services — with the RAM figures that decide which plan you actually need.
CentOS 7 remains available for legacy workloads but is past upstream end of support. New projects should start on AlmaLinux 9 or Rocky 9; the migration guide in Section 9 covers moving off CentOS 7 safely.
Security hardening
Most servers that get abused were not attacked with clever exploits — they were found by a scanner because a password was still the one the installer generated. The order below matters more than any single tool in it.
Keys before anything else
Install your public key, confirm key login works, only then set PasswordAuthentication no. Locking the door before you have the key is the one mistake that costs a support ticket.
Close every port you did not open on purpose
A default-deny inbound policy with explicit allows. If you cannot say why a port is open, it should not be.
Automate security updates
unattended-upgrades on Debian and Ubuntu, dnf-automatic on the RHEL family. Patched at 3am without you thinking about it.
Fail2ban or nftables rate limiting
It will not stop a determined attacker, and it removes essentially all of the noise, which is what actually fills logs and burns CPU.
Bind internal services to localhost
Databases, caches, and admin panels on 127.0.0.1. A public Redis or memcached port is the classic amplification source named in the Acceptable Use Policy.
# /etc/ssh/sshd_config.d/hardening.conf
PermitRootLogin no
PasswordAuthentication no
PubkeyAuthentication yes
systemctl reload ssh
ufw default deny incoming
ufw default allow outgoing
ufw allow OpenSSH
ufw allow 80,443/tcp
ufw enable
ufw status verbose
No firewall rule inside your server can open it. Mail sending is enabled per account after your setup is authenticated — the process is Clause 3 of the Acceptable Use Policy, and it exists because one open relay gets an entire range listed.
Web stacks & applications
Nginx as a static server and reverse proxy
Server blocks, TLS via Let's Encrypt, gzip and cache headers, then proxying to an app on localhost with correct forwarded headers.
WordPress done right on a VPS
PHP-FPM pools, object cache, permalinks behind Nginx, and the two settings that stop a shared admin from becoming a spam source.
Docker Compose for a small production stack
App, database, proxy, and restart policy in one file. Volumes, healthchecks, log rotation, and updates without downtime.
Podman without a daemon
The rootless alternative for teams that do not want a setuid daemon on the host, with the compose compatibility layer.
PostgreSQL and Redis sized to your RAM
Where shared_buffers actually belongs, when Redis should be told not to persist, and the OOM killer as a diagnostic signal.
Node, Python, and Go services as systemd units
Environment files, socket activation, graceful reloads, and journald limits so a chatty app cannot fill the disk.
Game servers and custom ports are supported. Ask for the port through a ticket before you deploy — most requests are approved the same day, and refusals come with the reason, as Clause 8 of the Acceptable Use Policy states.
Control panels
A panel is a license you pay for and a large attack surface you accept. Both are worth deciding on purpose rather than by default.
| Panel | Best fit & what to know first |
|---|---|
| DirectAdmin | Lightest on RAM of the paid panels. Good on Basic and above. |
| HestiaCP | Free and capable. A solid choice for a single-tenant web server. |
| cPanel | The most documented option, and the most expensive per account. Needs Pro or Business to breathe. |
| Plesk | Strongest for mixed Windows and Linux workloads. |
| No panel | Still the fastest option on a small plan, and what most guides here assume. |
- Panel licenses are billed per instance. Running one key across more servers than its terms allow is a licence breach under Clause 7 of the Acceptable Use Policy, and licenses are not refundable once issued, as the Refund Policy states.
- Install a panel on a clean OS, not alongside a stack you built by hand. Two package managers fighting over the same ports produces a fault nobody can reproduce.
- Change the default panel port, put it behind the firewall allowlist, and enable two-step where the panel supports it.
Backups & restores
Free weekly snapshots protect you from our faults and your honest mistakes. They are not a backup strategy, because they live on the same account as the server they protect.
tar czf - /var/www /etc/nginx | \ restic backup --stdin --stdin-filename web-$(date +%F) restic forget --keep-daily 7 --keep-weekly 4 --prune restic check
- Test the restore. An untested backup is a rumour. Once a month, restore to a second server and confirm the app actually starts.
- Keep a copy off the account — object storage, another provider, or your own machine. That is the copy that survives an account problem.
- Before a cancellation, pull a final archive. Disk contents are destroyed 7 days after the end of the paid period, as the Privacy Policy states, and after that no restore is possible.
- Before a rebuild or restore, take a manual snapshot. Both operations overwrite current contents and require confirmation for exactly that reason.
Monitoring & uptime
You need two signals, not twenty: is the service answering, and is the machine running out of a resource. Everything else is noise you will learn to ignore.
| Layer | What watches it |
|---|---|
| Service responding | External checker against your public endpoint, from outside your server. |
| Machine alive | Hypervisor-side metrics, accurate even when the guest OS is wedged. |
| Resource pressure | CPU, RAM, disk, and transfer from the metrics endpoint. |
| Application errors | Your own log aggregation. Nothing here substitutes for it. |
| Certificate expiry | A daily check on the HTTPS port. This one is free to prevent and painful to forget. |
uptime_percent.month_to_datefrom the metrics endpoint is the same figure behind the 99.9% target in the Terms of Service. A shortfall is credited automatically — you do not need to open a ticket to receive it.- Webhooks deliver
server.offline,snapshot.completed, andabuse.reportedthe moment they happen, so automation can act inside the 72-hour fix window in the Abuse Policy. - Alert on the thing you would act on. An alert you dismiss twice becomes the reason the third one is missed.
Troubleshooting
Server unreachable after a change
Console access to recover from your own firewall rule, checking routes, and the three commands that separate a network fault from an OS fault.
The server is slow: find the bottleneck
Load average decoded, CPU steal and what it means on a shared host, disk latency, and the point where a resize is cheaper than optimisation.
Out of memory and the OOM killer
Reading the kernel log, adding swap as a buffer rather than a fix, and which service usually deserves the oom_score_adj.
Disk full at 100% and the site is down
Find it in one command, clear journald and old logs safely, and the cron job that stops it recurring.
Mail rejected or your IP is listed
SPF, DKIM, DMARC, rDNS mismatch, and how to read a rejection message instead of guessing at it.
Leaving CentOS 7 before it bites you
Audit what is installed, rebuild on AlmaLinux 9, move data, cut over DNS, and keep the old server until you are sure.
The server IP, what changed just before the fault, and the output of the command that failed. That is usually the whole ticket. A median first reply under 15 minutes, 24/7, is a lot faster when the first message already has the evidence.
Automation & the API
Once a guide works twice by hand, it should be a script. The API exposes the same operations as the dashboard, so nothing is only clickable.
ID=$(curl -s https://api.kodavps.shop/v1/servers \ -H "Authorization: Bearer $KEY" \ -H "Idempotency-Key: $(uuidgen)" \ -d '{"plan":"starter","region":"sin","image":"debian-12-x64"}' \ | jq -r .id) while :; do S=$(curl -s -H "Authorization: Bearer $KEY" \ https://api.kodavps.shop/v1/servers/$ID | jq -r .status) [ "$S" = "active" ] && break sleep 2 done
- Idempotency keys make a retried deploy return the original server instead of building a second one. Use one on every POST that costs money.
- Scoped keys — a monitoring pipeline needs
readand nothing else. Sandbox keys prefixed for testing create no charges. - Metrics as evidence — hypervisor-side numbers are what the SLA is measured on, so they are what a credit claim rests on too.
- Full endpoint reference, rate limits, and error codes are in the API documentation.
Servers created through the API are covered by the same 7-day money-back guarantee as servers created in the browser, on the same conditions in the Refund Policy. Automation does not narrow a policy, and it does not widen one either.
Policy questions that come up in the guides
Can I mine cryptocurrency on my VPS?
Not without prior written approval. Unauthorised mining is listed as a breach in the Acceptable Use Policy because it saturates a shared host and degrades service for neighbours on it. A dedicated plan discussed in advance is a different conversation.
I followed a hardening guide and locked myself out. Now what?
Use console access from the dashboard — it works even when SSH is misconfigured. If the instance is unreachable for a reason on our side within 72 hours of delivery, report it and it is treated as ours to fix, per the Refund Policy.
Can I host email for my own domain?
Yes. Authenticated submission on 465 and 587 is open by default. Outbound port 25 needs a request so we can confirm SPF, DKIM, DMARC, and rDNS are correct first — that protects your deliverable as much as our range.
Is a VPN allowed?
For your own traffic, yes. What is not allowed is running it as an open proxy or Tor exit that lets third parties reach the internet through your server's reputation. The distinction is in the Acceptable Use Policy.
What if I buy the wrong plan?
Inside 7 days of activation on your first order, the money-back guarantee applies and you can reorder correctly. Outside that window, resize up — it is live, pro-rated, and keeps your IP addresses. Downgrades land at the next cycle.
Do you read my server's files while helping with a guide?
Only what you share with us, and only to solve the problem you reported. The position on access to server content is set in the Privacy Policy, and it is the same whether the ticket is technical or billing.
What we cover next
Guides are written because customers hit a problem, not to fill a blog. If you have solved something awkward on a KodaVPS server, the short version of your ticket usually becomes a guide.
| Planned | Why it is next |
|---|---|
| Kubernetes with kubeadm on three nodes | Asked most often by customers running container fleets. |
| Traefik as a replacement for hand-written proxy blocks | Automatic certificates remove the most common expiry fault. |
| Mail-in-a-Box honestly: what works, what will fight you | Self-hosted mail is worth doing once you know the constraints. |
| WireGuard site-to-site between two regions | Snapshot replication across regions needs a private path. |
| Fail2ban tuning without banning yourself | The most frequent self-inflicted support ticket. |
Guide missing something, or want one written?
Corrections are welcome and get the page fixed the same day. Ask for a walkthrough of a workload you are planning and you will get a straight answer about whether the platform suits it — before you order, not after.
Request a guide