Hostinger KVM 1 VPS Setup Guide (Step-by-Step Beginner Tutorial β 2026)

π§± Hostinger KVM 1 VPS Setup Guide (Complete Beginner Walkthrough)
If youβre moving from shared hosting to VPS for the first time, the Hostinger KVM 1 VPS plan is one of the best beginner-friendly choices.
It gives you:
β Dedicated CPU resources
β Dedicated RAM
β Full server control
β Better performance than shared hosting
But unlike shared hosting, VPS requires manual setup.
π Donβt worry β in this guide, Iβll show you every step clearly.
π§ What is KVM 1 VPS?
KVM stands for Kernel-based Virtual Machine.
The KVM 1 plan is an entry-level VPS that gives you:
β Virtual dedicated server
β Root access
β Ability to install anything you want
π Ideal for:
- Medium WordPress sites
- WooCommerce stores
- Developers
- Learning VPS hosting
β οΈ Before Starting (IMPORTANT)
With VPS:
β You control the server
β You manage security
β You install software manually
π This guide uses:
β Ubuntu 22.04 LTS
β NGINX
β WordPress
π STEP 1: Buy Hostinger KVM 1 VPS
- Visit Hostinger website
- Click VPS Hosting
- Choose KVM 1
- Click Add to Cart
- Use Coupon Code For Saving Some Money – Use Our Highly Discount Codes here – Redeem KVM 1 Coupon Code
π During Checkout:
β Select 12/24 months
β Choose nearest server location
β Create account
β Apply coupon code
β Complete payment
βοΈ STEP 2: Open VPS Dashboard
After payment:
- Login to Hostinger
- Go to:
π VPS β Manage
Youβll now see:
β VPS IP Address
β Root username
β Root password
β Server status
π₯οΈ STEP 3: Install Operating System (Ubuntu)
- Click Operating System
- Select:
π Ubuntu 22.04 LTS
- Click Change OS
β±οΈ Wait 2β5 minutes
π STEP 4: Connect to VPS via SSH
π Windows Users
Use:
β PuTTY
OR
β Windows Terminal
π Mac/Linux Users
Open Terminal
Run:
ssh root@your_server_ipExample:
ssh root@185.xxx.xxx.xxxPress Enter
π First Login
Type:
β yes
Then enter VPS password
π You are now connected to your server
π STEP 5: Update Server Packages
First thing you should always do:
apt update && apt upgrade -yπ This updates all server software and security patches.
π§± STEP 6: Install NGINX Web Server
NGINX is lightweight and fast.
Install it:
apt install nginx -yπ Test NGINX
Open browser:
http://your_server_ipβ You should see:
π βWelcome to NGINXβ
π STEP 7: Install PHP
WordPress requires PHP.
Run:
apt install php-fpm php-mysql php-cli php-curl php-zip php-mbstring php-xml -yπ Check PHP Version
Run:
php -vποΈ STEP 8: Install MySQL Database
Install database server:
apt install mysql-server -yπ Secure MySQL
Run:
mysql_secure_installationπ Recommended Answers
β Remove anonymous users β Yes
β Disable remote root login β Yes
β Remove test database β Yes
π STEP 9: Create WordPress Database
Login:
mysql -u root -pπ Create Database & User
Run:
CREATE DATABASE wordpress;
CREATE USER 'wpuser'@'localhost' IDENTIFIED BY 'StrongPassword123!';
GRANT ALL PRIVILEGES ON wordpress.* TO 'wpuser'@'localhost';
FLUSH PRIVILEGES;
EXIT;π¦ STEP 10: Download WordPress
Move to web directory:
cd /var/www/Download WordPress:
wget https://wordpress.org/latest.tar.gzExtract:
tar -xvzf latest.tar.gzRename folder:
mv wordpress yourdomainπ STEP 11: Set Correct Permissions
Run:
chown -R www-data:www-data /var/www/yourdomain
chmod -R 755 /var/www/yourdomainπ Important for security and WordPress functionality.
βοΈ STEP 12: Configure NGINX for Your Domain
Create config file:
nano /etc/nginx/sites-available/yourdomainPaste:
server {
listen 80;
server_name yourdomain.com www.yourdomain.com;
root /var/www/yourdomain;
index index.php index.html;
location / {
try_files $uri $uri/ /index.php?$args;
}
location ~ \.php$ {
include snippets/fastcgi-php.conf;
fastcgi_pass unix:/run/php/php8.1-fpm.sock;
}
location ~ /\.ht {
deny all;
}
}π STEP 13: Enable Website Configuration
Run:
ln -s /etc/nginx/sites-available/yourdomain /etc/nginx/sites-enabled/Test config:
nginx -tRestart NGINX:
systemctl restart nginxπ STEP 14: Connect Domain to VPS
Go to your domain provider.
Add:
β A Record β your VPS IP
π Example:
| Type | Name | Value |
|---|---|---|
| A | @ | VPS IP |
| A | www | VPS IP |
β±οΈ Wait for DNS propagation
π STEP 15: Install SSL Certificate (HTTPS)
Install Certbot:
apt install certbot python3-certbot-nginx -yRun SSL setup:
certbot --nginxπ During Setup
β Enter email
β Accept terms
β Choose your domain
π SSL installed successfully π
π STEP 16: Complete WordPress Installation
Open:
https://yourdomain.comNow WordPress setup screen appears.
Enter:
β Database Name
β Database Username
β Database Password
Click Install
π STEP 17: Secure Your VPS (VERY IMPORTANT)
π Enable Firewall
Run:
ufw allow OpenSSH
ufw allow 'Nginx Full'
ufw enableπ Disable Root Login (Advanced)
Edit SSH config:
nano /etc/ssh/sshd_configChange:
PermitRootLogin noRestart SSH:
systemctl restart sshβ‘ STEP 18: Optimize VPS Performance
β Install LiteSpeed Cache plugin
β Use Cloudflare CDN
β Optimize images
β Remove unused plugins
πΎ STEP 19: Setup Backups
Install backup plugin:
β UpdraftPlus
Store backups:
β Google Drive
β Dropbox
β οΈ Common Beginner Mistakes
β Weak passwords
β No firewall
β Wrong file permissions
β Forgetting backups
π₯ Pro Tips (Real VPS Experience)
β Monitor RAM usage regularly
β Keep server updated
β Donβt install unnecessary software
β Restart services after changes
π― Who Should Use KVM 1?
β Growing websites
β Small WooCommerce stores
β Developers learning VPS
π Result
After setup:
β VPS fully configured
β WordPress installed
β SSL active
β Secure server
β Better performance than shared hosting
β FAQ
π Yes, excellent for medium-size websites.
π Basic terminal usage helps.
π Ubuntu 22.04 LTS
π Yes, much better performance and control.