Before you start
Have these ready: the server's IP and initial credentials, IPMI/iLO login, a password manager for the team, and an SSH key pair on your own computer. If anything goes wrong during setup, the IPMI/iLO console lets you get back in without SSH, so check it works first. Set aside an uninterrupted hour or two: security setup goes wrong mostly when it is rushed between other tasks.

How to secure a dedicated server: the 15-step checklist
- Update everything. On Ubuntu/Debian:
sudo apt update && sudo apt full-upgrade, then reboot if the kernel changed. - Set the hostname and time zone so logs make sense:
hostnamectl set-hostnameandtimedatectl set-timezone Asia/Kolkata. - Create a named admin user and add it to the sudo group:
adduser yourname,usermod -aG sudo yourname. - Install your SSH public key for that user (in
~/.ssh/authorized_keys) and test logging in with it. - Disable password and root login over SSH in
/etc/ssh/sshd_config:PasswordAuthentication no,PermitRootLogin no, then restart SSH. Keep your current session open until you confirm a new login works. - Enable a firewall, allowing only SSH and the services you run:
ufw allow OpenSSH,ufw allow 443/tcp,ufw enable. See firewall setup best practices. - Turn on automatic security updates with
unattended-upgrades, and decide when reboots happen. - Install Fail2ban to block IPs that repeatedly fail to log in.
- Remove or disable unused services and packages; check listening ports with
ss -tulpn. - Secure IPMI/iLO: change default passwords, keep firmware current and restrict access where possible.
- Use TLS everywhere: HTTPS for websites and APIs, encrypted connections for databases and mail.
- Run applications as unprivileged users, never as root.
- Set up off-site backups and test a restore. See automated backups on a dedicated server.
- Add monitoring and alerts for uptime, disk space, CPU, memory and failed logins.
- Document everything: users, open ports, installed software, backup schedule and recovery steps.
SSH: the front door
SSH is how administrators reach a Linux server, so it is also what attackers target first. Keys are far stronger than passwords, and disabling root login means attackers must guess a username as well. For more options, such as restricting SSH to specific IPs or using a VPN, read SSH security best practices.
Firewall: close what you do not use
The default should be "deny everything inbound, allow only what is needed". Typical open ports for a web server are 22 (SSH, ideally restricted), 80 and 443. Databases, caches and admin panels should not be reachable from the internet; bind them to localhost or a private network.
Threats and the steps that stop them
| Threat | Checklist steps that help |
|---|---|
| Password guessing / brute force | SSH keys, no root login, Fail2ban |
| Known software vulnerabilities | Updates, automatic security patches, removing unused software |
| Exposed databases or admin panels | Firewall, binding to localhost, VPN |
| Ransomware or deletion | Off-site, versioned backups with restore tests |
| Undetected compromise | Monitoring, log review, file integrity checks |
| Hardware-level takeover | Secured IPMI/iLO, firmware updates |
| Traffic floods | Provider DDoS protection, rate limiting |
Updates: the boring step that matters most
Most real-world breaches exploit known vulnerabilities with patches already available. Automatic security updates close that gap. Schedule kernel reboots in a quiet window, and keep an eye on application-level updates too: CMS cores, plugins, language runtimes and containers. Our guide to patch management explains how to make this routine.
Monitoring and logs
- External uptime checks every minute.
- Alerts for disk space above 80%, high memory or CPU over long periods.
- Alerts for repeated failed logins or new admin users.
- Central storage of logs on another system so they survive if the server itself is compromised.
Securing the applications on top
A perfectly hardened operating system can still be breached through the website or app running on it. Most successful attacks on business servers today come through outdated CMS plugins, weak admin passwords, exposed configuration files or vulnerable custom code. Treat the application layer as part of the checklist:
- Keep CMS cores, themes, plugins and libraries updated, and remove anything unused.
- Protect admin areas with two-factor login and, where possible, restrict them to a VPN or known IPs.
- Store secrets such as database passwords and API keys outside the web root, readable only by the application user.
- Give each application its own system user and database user with only the permissions it needs.
- Add rate limiting to login, search and API endpoints.
- Consider a web application firewall in front of public sites.
If you host sites for clients, apply the same rules to every site, because one neglected install can expose the whole server.
What to do if you suspect a breach
Have a short plan written down before you need it. Disconnect or firewall the affected service rather than deleting evidence; take a snapshot or copy of logs; rotate passwords and keys from a clean machine; check for new users, unexpected cron jobs and unknown processes; restore from a known-good backup if in doubt; and fix the entry point before going live again. Depending on your sector and the data involved, you may also have reporting obligations, so know who to contact.
If you run Windows Server
- Install updates and enable automatic updates in a maintenance window.
- Rename or disable the built-in Administrator; use named admin accounts.
- Never expose RDP directly; use a VPN or Remote Desktop Gateway.
- Enable the Windows firewall with only required ports open.
- Use Microsoft Defender or equivalent, and back up off the server.
Going further with standards
Once the basics are in place, security benchmarks such as the CIS Benchmarks give detailed, tested configuration guidance for common operating systems. Apply the parts that fit your risk and workload.
Monthly security review
- Confirm automatic updates are running and reboot if needed.
- Review user accounts and remove anyone who no longer needs access.
- Check open ports against your documentation.
- Test restoring one file and one database from backup.
- Read the last month's alerts and failed login reports.
Common mistakes
- Disabling password login before testing key login, then getting locked out.
- Opening database ports "temporarily" and forgetting them.
- Leaving IPMI/iLO on default credentials.
- Keeping backups only on the same server, where ransomware can reach them too.
- Skipping updates because "the site works fine".
Why businesses choose SkyRain Cloud dedicated servers
SkyRain Cloud gives you secure foundations to build this checklist on:
- Indian data centers, Indian latency. Intel Xeon dedicated servers are hosted in Mumbai and Delhi, close to customers across India.
- The whole machine is yours. 100% unshared hardware: no other tenants competing for CPU, memory or disk.
- DDoS protection included on the network, so a flood aimed at your IP does not have to become your problem alone.
- Full control. Root or Administrator access plus iLO/IPMI out-of-band management to reboot, reinstall or mount your own ISO.
- Real support channels. 24/7 support tickets, WhatsApp and a Discord community, plus a public status page.
- Simple billing. Monthly billing in rupees with UPI, net banking and cards.
Frequently Asked Questions
What is the first thing to do on a new dedicated server?
Is a dedicated server more secure than shared hosting?
Do I need antivirus on a Linux server?
How often should I update my server?
What is Fail2ban?
Does SkyRain Cloud secure my server for me?
Conclusion
Learning how to secure a dedicated server is mostly about doing the basics thoroughly on day one: named users, SSH keys, a strict firewall, automatic updates, brute-force protection, secured out-of-band access, off-site backups and monitoring. Then keep them up with a short monthly review.
Start on solid hardware with the plans below, or see the full specs on our dedicated server page.
SkyRain Cloud Dedicated Server Plans
Unshared Intel Xeon bare-metal servers in Mumbai and Delhi data centers with 1 Gbps connectivity. Every plan includes iLO / IPMI out-of-band management, DDoS protection, Full root / Administrator access, Additional IPv4 addresses available and Billed monthly.
| Plan | Cores / Threads | RAM | Storage | Network | Price | Good for | Buy |
|---|---|---|---|---|---|---|---|
| Business 2× Intel Xeon E5-2699 v4 (Mumbai / Delhi) | 44 / 88 (2.2 GHz base, 3.6 GHz turbo) | 128 GB DDR4 ECC | 1 TB NVMe SSD | 1 Gbps | ₹17,999/month | Business websites, stores, databases, ERP and many client sites | Order |
| Enterprise 2× Intel Xeon Platinum 8269CY (Mumbai / Delhi) | 52 / 104 (2.5 GHz base, 3.8 GHz turbo) | 128 GB DDR4 ECC | 1 TB NVMe SSD | 1 Gbps | ₹19,999/month | Virtualization hosts, large databases, SaaS and container platforms | Order |
| Custom | More RAM or storage, a second server for failover, or several servers for a cluster: quoted by the team. | Clusters, failover pairs, unusual specs | Ask | ||||
Prices are monthly in INR as listed on the SkyRain Cloud store (verified 2026-11-23). Live stock and final price are shown at checkout.