HiBlog VPS and Dedicated Servers HiCademy
How to Use a VPS: From Your First Login to a Running Site
- Mina SeyfollahiAuthor
- Last updated
- 7 minutesReading time
- 1,000Views
- Mina Seyfollahi
- Last updated:
- 7 min read
- 1,000 views
You’ve bought your VPS and the delivery email has arrived: an IP address, a username and a password. Now what? Many newcomers get stuck at exactly this moment, wondering where to start, how to connect to the server and what to do on day one so the server is secure and ready for their project.
In this guide we explain step by step, in plain words, what a VPS (virtual private server) is good for, how to connect to a Windows or Linux server, how to do the first security setup, how to install software and launch a site on it, and how to look after it.
Short answer: connect to a Windows server with Remote Desktop and to a Linux server with SSH. On day one, change the password, update the operating system and turn on the firewall after opening your login port. Then install your project’s software, or, if you aren’t comfortable with the command line, put a control panel such as cPanel or DirectAdmin on it.
What is a VPS?
A VPS (Virtual Private Server) is a slice of a powerful physical server that virtualization hands to you as an independent server: it has its own operating system, you get full root or Administrator access, and you install whatever software you like. On HiData’s VPS plans, RAM and disk are reserved for your server, while the CPU is shared among the servers on the same host. For a fuller introduction, read what a VPS is.

VPS vs. shared hosting and dedicated servers
| Feature | Shared hosting | VPS | Dedicated server |
|---|---|---|---|
| Root access | No | Yes | Yes |
| Resources | Shared with other users | Reserved RAM and disk | All the hardware is yours |
| Installing any software | Limited | Free | Free |
| Management | By the hosting provider | By you | By you |
| Cost | Low | Medium | High |
What is a VPS good for?
- Hosting busy, professional sites: high-traffic WordPress, online shops and Laravel or Django projects that need an environment tuned their own way.
- Running your own applications: Node.js apps, APIs, web panels and any service that needs a specific library or its own port.
- Databases: MySQL and MariaDB, PostgreSQL or MongoDB with your own settings.
- Bots and always-on programs: processes that must run nonstop. A Telegram bot needs a server outside Iran, because Telegram’s servers can’t be reached from inside the country.
- An always-on Windows desktop: work on a Windows VPS over Remote Desktop and run software that has to stay on all the time.
- Game servers, backups and test environments: from game servers such as Minecraft to storing backups and testing software before release.
We list more uses in what a VPS is used for.

Getting started with your VPS, step by step
1. Choose and buy a VPS
Before you order, decide on these points:
- Server location: a server in Iran for users inside Iran; a server abroad for a global audience or for services that need open international internet. Our guide to choosing a VPS location helps.
- Operating system: Linux (such as Ubuntu, Debian or AlmaLinux) or Windows Server. See the differences in Linux VPS or Windows VPS.
- Resources: the amount of RAM, CPU and disk your project needs. For disk, read how much VPS disk space you need.
2. Get your login details
Once the server is delivered, you receive its IP, the username (usually root on Linux and Administrator on Windows), the initial password and the installed operating system. Keep these details somewhere safe.
3. Connect to your VPS
Windows server with Remote Desktop: search the Start menu for Remote Desktop Connection, enter the server’s IP, then the username and password, and the server’s desktop is in front of you. A fuller walkthrough is in what RDP is and how it works.
Linux server with SSH: on Linux and macOS, open a terminal; on Windows 10 and 11, the ssh command is ready in PowerShell, and apps such as PuTTY and Termius do the same job:
ssh root@IPOn the first connection, SSH shows the server’s fingerprint and asks for confirmation; type yes and enter the password. If one day you can’t reach the server over SSH or Remote Desktop, on HiData’s Iran VPS the VNC console in the server panel is always a way in, with no ticket needed.
4. Day-one security tasks
Do these few things before anything else. First, change the initial password:
passwdThen update the operating system; on Ubuntu and Debian:
apt update && apt upgrade -yand on AlmaLinux and Rocky Linux:
dnf update -yNext, turn on the firewall. The order matters: open the SSH port first, then enable the firewall; the other way round cuts off your current connection! On Ubuntu:
ufw allow OpenSSH
ufw enable
For more security, set up SSH key login, create a separate user with sudo rights and change the SSH port. We explain all of this in how to enable and secure SSH on Ubuntu.
5. Install software and launch your site
Now install whatever software your project needs. For a PHP site on Ubuntu, for example, install the Nginx web server, PHP-FPM and MySQL together:
apt install nginx php-fpm php-mysql mysql-server -yNote that you use php-fpm rather than the php package; on Ubuntu the php package also pulls in the Apache web server, which then fights Nginx for port 80. Move your site’s files over SFTP to a folder such as /var/www/. If the server is in Iran, set up an Iranian Ubuntu mirror before installing, so downloads are faster.
6. A control panel for easier work
If you aren’t comfortable with the command line, install a control panel on the server and manage sites, databases and email in a few clicks:
| Control panel | Highlights |
|---|---|
| cPanel/WHM | Complete and professional, paid licence |
| DirectAdmin | Light and simple, paid licence |
| CyberPanel | Free and a good fit for WordPress |
| Webmin | Free and open source, for managing the server itself |
You can get cPanel and DirectAdmin licences from HiData’s licence section. To learn more about control panels, read what a control panel is.
7. Maintenance and backups
- Keep an eye on RAM and CPU use with
htoportop, and on disk space withdf -h. - Read the system logs in
/var/log/or withjournalctl. - Install updates regularly.
- Take backups: backing up a VPS is your job; back up files and databases regularly and keep a copy outside that server.
If the server slows down and you want to find out which program is eating resources, see how to stop a process in Linux.
Frequently asked questions
Is a VPS always on?
Yes. A VPS runs around the clock in the data center and stays available unless you shut it down yourself or there is scheduled maintenance.
Do I need to know programming to use a VPS?
Not necessarily, but you do need to know basic Linux commands or your way around Windows Server. If you are new to this, don’t worry! Our support is with you around the clock through tickets. Just keep in mind that HiData’s VPS plans, including the Iran VPS, are self-managed: you install software, secure the server and update the operating system yourself, but if you lose access to your server, our technical team follows it up.
Can I host several sites on one VPS?
Yes. With control panels such as cPanel, DirectAdmin or CyberPanel you manage several domains and sites on one server. Without a panel, you can do the same by defining several virtual hosts in Nginx or Apache.
Can I change the operating system?
Yes. On a HiData VPS you reinstall or change the operating system from the server panel. Just remember that a reinstall wipes all the data on the server; take a backup first.
Get started with a HiData VPS
See HiData’s VPS plans on the VPS page: from Iran VPS with NVMe disks to locations outside Iran, all with full root access. If you’d like some practice before you buy, get the free 24-hour test VPS and try these very steps on it.


