VDS
A virtual machine with root access: ordering, setup, access and recovery · 148 guides
Getting started
- What is a VPS and who needs itHow a virtual machine differs from regular hosting, what you get with root access, and in which tasks a VPS is justified versus overkill.
- How to order a machineStep by step: choosing the tier, OS, and payment term, charging from the Millida balance, and what happens in the first minute after ordering.
- First login to the machineHow to connect to a new machine via SSH, what the key fingerprint prompt means, and what to do if the connection fails.
- Machine control panelWhat is on the “Overview”, “Access”, “Console”, “Payment”, and “History” tabs and which tasks are handled through the panel versus commands inside the system.
- How to choose a plan tierHow many cores, memory, and disk are needed for a website, bot, database, or game server, how disk speed is calculated by tier, and why it’s better to start with the lowest one.
- VPS or game hosting: which to chooseA comparison of the two products by control, responsibility, and price: when a ready-made panel is enough, and when you need your own server with root access.
- SSH in five minutesThe minimum set of commands to work confidently in a server terminal: navigating files, editing configs, services, logs, and permissions.
- What to do in the first hourA short checklist for a new machine: updates, SSH keys, a separate user, firewall, time, guest agent, and the first data backup.
- Glossary: root, SSH, port, daemon, and other wordsAn explanation of terms found in the articles and the control panel: from root and sudo to PTR, systemd, disk baseline, and recovery disk.
- Quick start: a website in 15 minutesFrom a clean machine to a working nginx site with an HTTPS certificate: installation, site directory, domain, firewall, and verification.
Machine access
- SSH keys: creating and addingHow to generate a key pair, add the public key in the server control panel, why saving reboots the server, and why keys don't work on Windows Server.
- Root password: where to get it and how to store itWhere the server administrator password is located in the control panel, how it is stored, why a leak is dangerous, and why the password should not remain the only way to log in.
- Changing the root passwordHow to change the administrator password with a button in the control panel, how this differs from changing it inside the system, and what to do if login is completely lost.
- ~/.ssh/config file: short names instead of long commandsHow to describe a machine once and connect with a two-word command, set the key, user, port, and keep the connection alive.
- Connecting from PuTTYSetting up a PuTTY session for a Millida VDS machine: address, saving a profile, keys via PuTTYgen and Pageant, and common error messages.
- Connecting from Windows: terminal and OpenSSHBuilt-in SSH client in Windows 10 and 11: checking availability, connecting, generating keys, a Windows Terminal profile, and solving common problems.
- Transferring files over SFTPHow to upload and download files from a server via WinSCP, FileZilla, the built-in sftp client, and macOS Finder, without confusing SFTP with regular FTP.
- scp and rsync: copying filesTwo commands for transferring files between your computer and a server: when scp is enough, what rsync is useful for, and how not to overwrite someone else's directory with a trailing slash.
- Text console in the control panelAccess to the machine via serial port when SSH is unavailable: where to open it, what can be fixed, and why it is always 80 by 24 characters.
- Machine screen (VNC)A second type of console in the control panel: a picture of the machine’s monitor. When you need exactly this, how it differs from the text console, and how to behave if it freezes.
Operating systems
- Which OS to chooseComparison of available systems: Debian, Ubuntu, AlmaLinux, CentOS Stream, and Windows Server — how they differ, which tasks they suit, and what to choose when in doubt.
- Debian: specifics and first stepsInitial setup of Debian 12 and 13 on a machine: updates, a set of basic packages, sudo, firewall, time, and the specifics that surprise beginners.
- Ubuntu: specifics and first stepsSetting up Ubuntu 22.04, 24.04, and 26.04 on a server: updates, snap and PPA, firewall, automatic patches, and the messages that scare you at login.
- AlmaLinux and CentOS Stream: dnf instead of aptHow to adapt Debian instructions for the RHEL family: command and package equivalents, firewalld instead of ufw, SELinux, and the EPEL repository.
- Reinstalling the OSHow to reinstall a machine from scratch or change the OS: what to save in advance, how the process goes, and what to configure right after.
- Recovery disk: when the system won’t bootHow to boot a machine into SystemRescue, mount its disk, fix fstab, the bootloader, or a forgotten password, and return to normal boot.
- Updating the system and packagesHow to safely update Debian, Ubuntu, and AlmaLinux: how upgrade and full-upgrade differ, when a reboot is needed, and what to do if an update breaks a service.
- Timezone, locale, and system languageHow to set the timezone, enable time synchronization, configure a UTF-8 locale, and why logs and the database should be kept in UTC.
- Users and sudo instead of rootHow to create a working user, give them sudo, move SSH keys, and stop logging in to the server as root.
- Guest agent: why it matters and how to reinstall itWhat qemu-guest-agent provides, how to tell it has disappeared, and how to restore it on Debian, Ubuntu, AlmaLinux, and Windows Server.
Network, IP address and domains
- Your public address: how it works and what you can do with itWhere to find the machine's address, how it differs from the internal one, how to check its reachability, and what you can and cannot do with it.
- Reverse DNS record (PTR)What PTR is, why mail and logs need it, how to set it in the machine panel, and how to check that the record has applied.
- DNS without magic: A, AAAA, CNAME, MX, TXTWhat DNS record types exist, how they differ, how to read TTL, and how to check that changes have reached the internet.
- Attaching a domain to the machineThe full path from an A record at the registrar to a working HTTPS site: which records to create, how to configure nginx, and how to issue a certificate.
- ufw firewall: closing what's not neededHow to set up ufw in five minutes: allow the necessary ports, close the rest, restrict access by address, and avoid cutting off your own SSH.
- nftables: more complex rulesWhen ufw is no longer enough: the structure of nftables tables and chains, a ready-to-use working config, address sets, rate limiting, and port forwarding.
- Ports: which to open and how to checkWhich ports typical services need, how to see what the machine is listening on, how to check external availability, and what to do if a port is closed.
- Bandwidth up to 500 Mbps: what it means in practiceHow to read the network and disk limits on a server, how to measure speed correctly, and why real-world load almost never hits the bandwidth limit.
- MTU 1420: why some sites may hang and how to fix itWhat MTU is, where 1420 comes from, what the “page hangs halfway” problem looks like, and how to check and fix it.
- Traffic usage: how to check it and where it goesWhere to view the traffic graph, how to measure usage by interface and by process, and what to do if the server suddenly starts downloading gigabytes.
Security
- Securing the machine in the first hourThe sequence of steps right after provisioning: keys, a separate user, a firewall, updates, and checking that exactly the right number of doors remain open.
- Hardening SSH: keys, port, restrictionsHow to configure sshd: key-only login, restricting users and addresses, changing the port, and how not to lose access in the process.
- Fail2ban against password brute forceHow to install and configure Fail2ban: blocking SSH and web form brute force, whitelisting your own addresses, checking that it works, and unblocking yourself.
- Disable root login by passwordWhy root login by password is dangerous, how PermitRootLogin options differ, and how to disable it without losing access to the machine.
- Automatic security updatesHow to configure unattended-upgrades on Debian and Ubuntu and dnf-automatic on AlmaLinux so patches install themselves without the service going down at night.
- Don’t lose access: backup keys and passwordsHow access paths to the machine are structured, why a second SSH key is needed, where to store the root password, and what to do if the only key is lost.
- Who logged in to the machine: login logsWhere to view successful and failed logins, how to read last, lastb, and journalctl, how to track actions via sudo, and how to configure log retention.
- Signs that the machine has been hackedWhich symptoms indicate that someone else's code is running on the machine, how to check this with commands, and why reinstallation is the only reliable way out.
- Attacks on the machine: what we do and what you can doWhat an attack on the channel and on an application looks like, how they differ, what you can configure on your side, and how to understand that it’s not an attack at all.
- Terms of use: why a machine may be suspendedWhat cannot be hosted or run on a machine, why access is restricted even in case of a hack, how notification arrives, and what to do afterward.
Websites and web servers
- Nginx: installation and your first siteHow to install Nginx on Millida VDS, serve your first page at your own address, and avoid breaking the configuration with a typo.
- Apache: installation and virtual hostsInstalling Apache on a VPS, configuring virtual hosts and modules, and troubleshooting common conflicts with Nginx on port 80.
- Caddy: a site with a certificate out of the boxA web server that obtains and renews HTTPS certificates itself. Installation on a VPS, a minimal Caddyfile, and migrating from Nginx.
- Free Let's Encrypt certificateHow to issue and automatically renew an HTTPS certificate on a VPS with certbot, including the case when port 80 is already in use.
- Static site: from file to domainThe complete path for a landing page or a React or Vue build: upload files to a VPS, serve them with a web server, bind a domain, and update without downtime.
- PHP-FPM: PHP sitesInstalling PHP-FPM on VDS, integrating it with Nginx, choosing the number of processes for your tier’s memory, and troubleshooting 502 and 504 errors.
- A Node.js application under systemdHow to run a Node application on VDS so it survives an SSH disconnect and a machine reboot: systemd unit, environment variables, logs.
- A Python application: gunicorn and systemdRunning Django, Flask, or FastAPI on VDS: virtual environment, gunicorn with a socket, systemd service, and choosing the number of workers for your tier.
- Reverse proxy: multiple applications on one addressHow to share one public VDS address among several applications by domains and paths, pass headers correctly, and not break WebSocket.
- Multiple sites on one serverHow to host a dozen sites on one VPS: directory layout, separate configs and users, a shared certificate, and estimating load by tier.
Databases
- MySQL and MariaDB: installation and your first databaseInstalling a database server on VDS, secure initial setup, creating a database and user, checking the connection, and common first errors.
- PostgreSQL: installation and your first databaseInstalling PostgreSQL on VDS, roles and the first database, how authentication works in pg_hba.conf, and troubleshooting connection errors.
- Redis: cache and queuesInstalling Redis on VDS, password and binding to a local address, memory limit and eviction policy, and the difference between a cache and a queue.
- SQLite: when it is enoughWhere SQLite on a VPS is better than a separate database server, how to enable WAL and avoid “database is locked”, and when it's time to move to PostgreSQL.
- Remote database access: how not to expose it to the whole internetTwo ways to connect to a database on VDS from your work computer: SSH tunnel and an open port with restrictions. What to choose and how to check.
- Database backupsHow to schedule MySQL and PostgreSQL dumps, move them off the machine, and verify that the backup actually restores.
- Configuring database memory for your tierSpecific buffer values for PostgreSQL and MySQL for VDS-1…VDS-6, and a rule for distributing memory between the database, application, and system.
- Users and permissions in the databaseHow to create a separate user for each application in MySQL and PostgreSQL, grant minimal permissions, and verify that nothing extra is allowed.
- Moving a database from another serverThe procedure for migrating a database to Millida VDS: preparation, transferring the dump over the network, checking integrity, and switching the application with minimal downtime.
- phpMyAdmin and Adminer: database panelsHow to install a web panel for a database on VDS and lock it down so it doesn’t become an entry door: password access, address restrictions, alternatives.
Apps and bots
- Telegram bot on a server: launching and autostartHow to host a Telegram bot on a VPS: isolation under its own user, a systemd service, token storage, logs, and handling network outages.
- Discord bot: launch and monitoringRunning a Discord bot on a VPS under systemd, limiting memory, reading logs, dealing with rate limits, and updating without downtime.
- A Minecraft server on VDS: when it makes senseAn honest comparison of VDS and ready-made game hosting for Minecraft, choosing a tier by player count, and the procedure for manually installing the server core.
- Game servers besides MinecraftHow to host a CS2, Rust, Terraria, Valheim, or Palworld server on a VPS: tier requirements, installation via SteamCMD, ports, and common issues.
- Mail server: why it's difficult and what to considerWhy outgoing mail ports are closed and how to open them, what to configure so emails are delivered — PTR, SPF, DKIM, DMARC — and when you shouldn't run your own mail server.
- Your own Git: Forgejo or GiteaHow to set up a personal repository server with a web interface, SSH access, and build runs — and what to copy so you don't lose your code.
- Your own monitoring: Uptime KumaHow to set up availability checks for your websites and services with notifications in Telegram or Discord and configure it so it only wakes you when it matters.
- Scheduled tasks: cron and systemd timersHow to run scheduled tasks, why a task works manually but stays silent in cron, and when to switch to systemd timers.
Docker and containers
- Docker: installing on the machineHow to install Docker properly on Debian, Ubuntu, and AlmaLinux, why the official repository is better than the system package, and what to check right after installation.
- Docker Compose: multiple services with one commandHow to describe a bundle of an application, database, and web server in one file, bring it up with one command, and update it without manual rebuilding.
- Portainer: containers through the browserHow to install a web container management panel, why it’s convenient, and why you shouldn’t expose it to the internet without protection.
- Volumes: where container data actually livesHow a named volume differs from a bind mount, where all of it physically lives on disk, and how not to lose the database when recreating a container.
- Docker networks and port forwardingHow containers see each other, how publishing a port differs from a simple EXPOSE, and why Docker bypasses ufw rules.
- Container logs and how not to lose themWhere Docker logs are stored, how to limit their size so they don't fill up the disk, and what to do so records survive container recreation.
- Updating containers without downtimeHow to update images so that the service stays up and you can roll back: pinning versions, health checks, the order of steps, and automation.
- Memory and CPU limits for containersHow to set a memory and CPU ceiling for a container, why without it one service brings down all the others, and how to tell that a process was killed by the kernel.
- Your own image registryWhen you need your own registry, how to set it up with a password and certificate, how much disk it consumes, and how not to turn it into a dump of old images.
- Docker: troubleshooting common problemsA container keeps restarting, a port is in use, no space left, “permission denied”, a service can't see its neighbor — a table of symptoms and a troubleshooting procedure.
Backups and disk
- What exactly should be copiedA list of what actually needs to be backed up on a VPS, what is pointless to copy, and how to export databases so the copy actually works.
- Backups with rsyncHow to set up file copying to another server over SSH, make a version history using hard links, and avoid deleting too much with the dangerous --delete option.
- Restic: backups with encryption and historyHow to set up backups with end-to-end encryption, deduplication, and date-based snapshots, automate them, and verify integrity.
- Off-site backupsWhy a copy next to the data doesn’t save you, where to take it, how to limit key permissions, and what should be accessible if the machine is completely unavailable.
- Disk space: where it goesHow to find what has filled up the disk, why a deleted but open file is dangerous, what is safe to clean, and why the usage ring in the control panel may show the wrong thing.
- Disk speed: baseline and burstHow the disk speed limit is calculated by tier, why a 30-second burst is needed, how to measure the real speed, and what to do if you hit it.
- Disk is running out: how to increase itWhat to do when disk space is insufficient: cleanup, moving data outside, or upgrading to a higher tier — and why you can’t shrink the disk back.
- Partitions and file systemsHow disk partitioning works on a VPS, how LVM differs from regular partitions, how to mount an additional directory, and what to write in fstab so the machine boots.
- Test restore: check your backups in advanceHow to conduct a trial restore, what to record as a result, and what typical surprises are revealed only in drills, not in a real disaster.
- Data is gone: what to do step by stepThe procedure when files or a database disappear: how not to make things worse with your first action, where to look for remnants, and what can be recovered and what cannot.
Monitoring and performance
- htop and btop: what's happening on the machine right nowHow to view a live picture of processes, CPU, and memory, which columns matter, and why full-screen programs should be run on the “Screen” and not in the text console.
- Disk load: iostat and iotopHow to tell whether the machine is disk-bound, who exactly is writing, and how to relate the numbers to the speed limit on your VPS tier.
- Network load: iftop, nload, ssHow to see how much traffic goes through the machine, where exactly it goes, and which processes hold connections when the channel is saturated.
- Graphs in the control panel: how to read themWhat the CPU, traffic, and memory graphs on the “Overview” tab show, how to choose a period, and what conclusions you can and cannot draw from them.
- systemd logs: journalctl in plain languageHow to find the cause of a service failure in the log, filter what you need by time and level, and prevent logs from eating up the entire disk.
- Netdata: detailed machine metricsHow to install Netdata on VDS, restrict access to it from outsiders, and what to look at when the graphs in the control panel are no longer enough.
- Site downtime alertsHow to learn about service unavailability before users do: external checks, a simple watchdog on the server itself, and automatic service restart.
- Load average: what the three numbers meanHow to correctly read load average on your VPS tier, why high load can occur with an idle CPU, and when the numbers actually require action.
- Memory and swap: when it's time for a higher tierHow to distinguish normal memory usage from a shortage, why swap is needed on a small tier, and by what signs to decide to move to a higher plan.
- Measuring disk and network speedHow to honestly measure disk and network on your VPS tier, which numbers to consider normal, and why the first seconds of a test always lie.
Windows Server
- First login to Windows Server via RDPHow to connect to a newly provisioned server with Windows Server 2022 or 2025, where to get the administrator password, and what to do in the first fifteen minutes.
- RDP protection: port, passwords, restrictionsHow to protect remote desktop from brute-force: an allowlist of addresses, changing the port, account lockout, and checking the login log.
- Windows Server updatesHow to install cumulative updates on a VDS with Windows Server, set a restart window, and what to do if an update hangs or rolls back.
- Windows Firewall: opening what's neededHow to open a port for your service, restrict access by address, and verify that the rule actually works without losing access to the server.
- Users and permissions in Windows ServerHow to create a work account without administrator rights, grant access to RDP and folders, and avoid leaving the machine with one password for everything.
- Disks and partitions in Windows ServerHow to view used space, extend the system partition after moving to a higher tier, and free up gigabytes when the disk is almost full.
- IIS: a site on WindowsHow to install the IIS web server on a VPS, publish your first site on your own domain, issue a certificate, and avoid drowning in logs.
- MS SQL Server on a VPSHow to install MS SQL Server Express on a Windows VPS, limit its memory, securely open access, and set up backups.
- Remote management without RDP: PowerShellHow to manage a Windows Server machine with commands: WinRM, PowerShell over SSH, secure setup, and what to do when the graphical session is unavailable.
- Windows Server license: what's includedHow to check activation status on your server, what messages about an unactivated copy mean, and where the line is between the OS and licenses for roles.
Troubleshooting
- SSH won’t connectA step-by-step breakdown: from “connection timed out” to “access denied” — how to understand where exactly the break is and restore access via the panel console.
- Server is slow: where to startA five-minute diagnostic procedure: CPU, memory, disk, network — how to use a few commands to identify what exactly is bottlenecking and what to do next.
- Out of memory: OOM killerHow to find out that a process was killed by the kernel due to lack of memory, who is to blame, and which settings will prevent the situation from happening again.
- Ran out of disk spaceHow to quickly find what is eating up the disk, free gigabytes safely, and understand the pitfalls: deleted open files and exhausted inodes.
- The machine won’t bootWhat to do when a VPS does not come up after a reboot: how to see the boot screen, analyze common causes, and repair the system from a recovery disk.
- Network lost on the machineWhat to check when the machine doesn't respond over SSH and can't access the internet itself: console, interface status, default route, and filter rules.
- Names are not resolving (DNS)The machine can see addresses but not names: how to check the resolver, fix resolv.conf, and avoid losing the setting after a reboot.
- Service won't start: troubleshooting with systemdHow to figure out in five commands why a systemd unit is failing: status, logs, configuration check, permissions, and a port already in use.
- CPU is at 100%How to find the process eating up CPU cores, distinguish real load from disk wait, and decide whether to fix the code or move to a higher tier.
- Kernel crashed: kernel panic and what nextWhat to do when the machine won't boot and a kernel message is frozen on the screen: capture the error text, roll back the kernel, and fix fstab from the recovery disk.
Plans and billing
- Plan tiers and what they includeSix Millida VDS tiers: cores, memory, disk, and price, what is included at no extra cost, and how to choose a tier for your task.
- Payment: Millida balance and chargesHow machine payment works: a single Millida balance, charges when ordering and renewing, what is visible on the “Payment” tab, and how not to run out of funds.
- Renewing a machineHow to renew VDS, what auto-renewal does, what reminders you receive, and after how many days of overdue payment the machine is stopped and deleted.
- Upgrading your plan and paying the differenceHow to move to a higher tier, how the prorated charge for the remaining days is calculated, what happens to the server during the transition, and why you can't switch back.
- Refunds: when the money comes backIn which cases you can expect a refund for a machine, what counts as a used service, and how to properly submit a request.
- Suspension for non-paymentAfter how many days of overdue payment the server is stopped, what is preserved, how to bring it back online, and how suspension differs from deletion.
- Machine deletion and buyout periodAfter how many days of overdue payment a machine is deleted, how long data lives after that, how to properly cancel a machine, and what to do in advance.
- Documents and billing historyWhere to view machine events, where charge amounts are stored, and what to do if a charge looks unclear.
- Discounts for a long termHow much you save by paying for 3, 6, and 12 months, how the total is calculated for each tier, and when a long term is not worth taking.
- Service machines and test provisionsHow a machine provisioned for an internal task or check differs from a regular one, what rules apply to it, and what happens to it after the test.
FAQ
- General questions about VPSBrief answers to the main questions about Millida VDS: what this service is, how quickly a machine is provisioned, who manages it, and what we do not offer.
- Technical questionsAnswers about CPU cores, memory, disk speed, consoles, the guest agent, and OS reinstallation — what people ask when first setting up a machine.
- Questions about networking and the addressPublic IPv4 address, bandwidth, PTR reverse record, domains, and common questions about the machine's availability from outside.
- Security questionsRoot password, SSH keys, who is responsible for securing the machine, signs of a compromise, and what to do if the machine does get compromised.
- Payment questionsMillida balance, terms and discounts, renewal, additional payment when upgrading a tier, suspension, and refunds — briefly on each question.
- Questions about operating systemsWhich distributions and versions of Windows Server are available, how to choose an OS, how reinstallation differs from an update, and what to do after changing the OS.
- What you can and cannot do on the machineThe boundaries of VPS use: which tasks are normal, what counts as resource abuse, and which actions are unacceptable.
- How to contact support and what to includeWhat to gather before contacting us, which data speeds up troubleshooting, what we handle ourselves, and what falls under your responsibility.
- Moving to our machine from another hostHow to migrate a website, database, and mail to Millida VDS without downtime: the sequence of steps, migration commands, and common mistakes when changing the address.
- Legal questions: contract, data, liabilityWho is responsible for what when renting a VPS, what happens to your data, how areas of responsibility are divided, and what is considered a violation of the rules.