Website Security

How to Protect Your Website From Hackers: A Security Checklist for Beginners

You don't need to be a cybersecurity expert to protect your website. This checklist covers the practical steps every website owner should take — from strong passwords to malware scanning — to stop the most common attacks.

Cynet Team

Cynet Hosting

May 14, 2026 9 min read
Split illustration comparing a vulnerable website with security warnings against a protected website with security shields and checkmarks

Here's a statistic that should make every website owner uncomfortable: a cyberattack happens somewhere on the internet every 39 seconds. And the targets aren't just large corporations — small business websites are attacked more frequently, precisely because hackers know they're less likely to be properly secured.

The good news? Most attacks exploit the same handful of weaknesses. You don't need a cybersecurity degree to defend against them. You need a checklist — and the discipline to follow it.

This guide gives you that checklist. Every item is practical, beginner-friendly, and can be done through your hosting control panel or WordPress dashboard.

Why Small Websites Get Hacked

Before we fix anything, it helps to understand what you're defending against. Small websites are targeted because:

  • Automated bots scan millions of sites daily looking for known vulnerabilities. They don't care if you get 10 visitors or 10,000 — they check everyone.
  • Weak passwords are still the #1 way attackers get in. If your WordPress or cPanel password is password123, a bot will crack it in seconds.
  • Outdated software (old WordPress versions, unpatched plugins) contains known security holes that are publicly documented. Attackers don't even need to be clever — they just use the published exploit.
  • Shared hosting means your site shares a server with others. If another site on the server is compromised, a poorly configured server could expose yours too.
The attacks themselves are usually automated, not personal. Bots hack your site to:
  • Send spam emails from your server
  • Inject malicious links for SEO manipulation
  • Redirect your visitors to phishing or malware pages
  • Mine cryptocurrency using your server resources
  • Use your site as part of a botnet

The Security Checklist

1. Use Strong, Unique Passwords Everywhere

This is the single most impactful thing you can do.

AccountMinimum Requirements
cPanel login16+ characters, mixed case, numbers, symbols
WordPress admin16+ characters, different from your cPanel password
Email accounts12+ characters, unique for each account
FTP accounts16+ characters, only create when needed
Database usersAuto-generated strong password
Rules to follow:
  • Never reuse passwords across accounts. If one service leaks your password, every account using it is compromised.
  • Use a password manager (Bitwarden, 1Password, or even your browser's built-in one) to generate and store unique passwords.
  • Never use your business name, domain name, or admin in a password.
If you suspect any account has been compromised, change the password immediately. Our Help Center covers what to do if your email account is hacked.

2. Enable Two-Factor Authentication (2FA)

A strong password protects against guessing. 2FA protects against password theft. Even if someone steals your password, they can't log in without the second factor — a time-based code from your phone.

Enable 2FA on:

  • cPanel — Security → Two-Factor Authentication (setup guide)
  • WordPress — Install a plugin like WP 2FA or Two-Factor
  • Your email — cPanel 2FA automatically protects webmail login too
  • Your domain registrar — Prevents someone from hijacking your domain
The 5 minutes it takes to set up 2FA could save you from a catastrophic breach.

3. Keep Everything Updated

Outdated software is the second most common attack vector after weak passwords. Every update matters:

  • WordPress core — Major and minor updates. Enable auto-updates for minor releases.
  • Themes — Even inactive themes can be exploited. Delete any theme you're not using.
  • Plugins — Update weekly. Delete any plugin you've deactivated and don't plan to use.
  • PHP version — Older PHP versions (7.x and below) no longer receive security patches. Use PHP 8.2 or newer. (How to change PHP version)
How to update WordPress safely:
  1. Back up your site first (always)
  2. Update plugins one at a time — if something breaks, you'll know which one caused it
  3. Update the theme
  4. Update WordPress core last
  5. Check your site after each step
If you're on a Cynet WordPress Hosting plan, WP Toolkit can auto-update everything and even test updates on a staging copy first.

4. Install an SSL Certificate

SSL encrypts the connection between your visitors and your server. Without it, login credentials, form submissions, and payment information travel as plain text — readable by anyone intercepting the traffic.

Every Cynet hosting plan includes free SSL via AutoSSL. To verify it's active:

  1. Log in to cPanel → SSL/TLS Status
  2. Your domain should show a green status
  3. If not, click Run AutoSSL
After SSL is active, ensure your website forces HTTPS:
  • In WordPress: Settings → General → both URLs should start with https://
  • Your .htaccess should redirect HTTP to HTTPS (most hosting setups do this automatically)
For a deeper dive on why SSL matters, read our guide on why every website needs an SSL certificate.

5. Back Up Your Website Regularly

Backups don't prevent attacks — they're your insurance policy when one succeeds. A clean backup means you can restore your entire site in minutes instead of rebuilding from scratch.

The 3-2-1 backup rule:

  • 3 copies of your data
  • 2 different storage types (hosting server + cloud storage)
  • 1 copy offsite (Google Drive, Dropbox, etc.)
Set up automatic backups through:
  • UpdraftPlus plugin — Backs up WordPress files and database to cloud storage on a schedule
  • cPanel Backup — Downloads a full copy of your hosting account
  • Hosting provider backups — Cynet runs daily automated backups with 14-day retention
Test your backups periodically. A backup that can't be restored is worthless.
Our complete website backup guide covers every method in detail.

6. Use a Security Plugin (WordPress)

A security plugin acts as a firewall and malware scanner for your WordPress site. It blocks malicious traffic before it reaches your site and alerts you if something suspicious is found.

Recommended plugins (choose one):

PluginFree TierKey Features
WordfenceYesFirewall, malware scanner, login security, live traffic monitoring
Sucuri SecurityYesFile integrity monitoring, security hardening, post-hack tools
iThemes SecurityYesBrute force protection, file change detection, database backups
Don't install multiple security plugins — they conflict with each other and can cause performance issues or false positives.

7. Protect Your Login Pages

WordPress login pages (/wp-admin and /wp-login.php) are the most attacked endpoints on any WordPress site. Bots hammer them with thousands of password combinations per hour.

Layers of defence:

  • Limit login attempts — Install "Limit Login Attempts Reloaded" to block IPs after failed attempts
  • Change the login URL — Plugins like WPS Hide Login move your login page from /wp-admin to a custom URL. Bots can't attack what they can't find
  • CAPTCHA on login — Adds a human verification step that stops automated bots
  • Block XML-RPC — The xmlrpc.php file is an older API endpoint that bots commonly exploit. Disable it unless you specifically need it (most people don't)

8. Choose Secure Hosting

Your hosting provider is your first line of defence. The server-level security they provide protects you before your own measures even come into play.

What to look for:

FeatureWhy It Matters
Server-level firewallBlocks malicious traffic before it reaches your site
Malware scanningDetects compromised files automatically
DDoS protectionPrevents attackers from overwhelming your server
Automatic backupsSafety net when something goes wrong
Account isolationPrevents other users on shared hosting from affecting your site
Free SSLEncrypts all connections by default
Every Cynet hosting plan includes Imunify360 (real-time malware scanning and firewall), DDoS protection, automated daily backups, free SSL, and account isolation on shared servers.

9. Harden Your WordPress Configuration

A few changes to your WordPress setup significantly reduce your attack surface:

In wp-config.php:

  • Disable file editing from the dashboard — prevents attackers who gain admin access from modifying plugin/theme files directly:
  define('DISALLOWFILEEDIT', true);
  

In your hosting:

  • Set file permissions correctly — files should be 644, directories should be 755, and wp-config.php should be 600
  • Remove the default readme.html and license.txt from your WordPress root — they reveal your WordPress version
In WordPress settings:
  • Disable user registration if you don't need it (Settings → General → uncheck "Anyone can register")
  • Change your admin display name so it doesn't match your login username
  • Remove the WordPress version number from your site's source code (most security plugins do this)

10. Monitor and Respond

Security isn't a one-time setup — it's ongoing awareness.

Weekly:

  • Check for WordPress, plugin, and theme updates
  • Review your site briefly for anything unexpected (new pages, strange redirects, unfamiliar user accounts)
Monthly:
  • Run a manual malware scan (security plugin or Sucuri SiteCheck)
  • Check cPanel → Disk Usage for unexpected storage spikes (can indicate injected files)
  • Review cPanel → Metrics → Errors for unusual patterns
Immediately if something looks wrong:
  • Change all passwords (cPanel, WordPress, email, FTP)
  • Run a malware scan
  • Check for unknown admin users in WordPress → Users
  • Restore from a clean backup if necessary
  • Contact your hosting provider's support team

What to Do If You've Already Been Hacked

If your site is already compromised — redirecting to spam, showing defaced content, or sending emails you didn't write — take these steps immediately:

  1. Change all passwords — cPanel, WordPress admin, all email accounts, FTP, database users. Every single one.
  2. Scan for malware — Use Imunify360 in cPanel (if available) or your security plugin
  3. Restore from backup — If you have a clean backup from before the hack, restore it
  4. Update everything — WordPress core, all plugins, all themes, PHP version
  5. Remove unknown accounts — Check WordPress → Users and cPanel → Email Accounts for anything you didn't create
  6. Check for backdoors — Hackers often leave hidden files that let them re-enter. A thorough malware scan should find these
  7. Enable 2FA — Prevent the same attack from working again
  8. Contact your host — They can check server logs, identify the entry point, and help clean up
If your email is sending spam you didn't write, see our guide on what to do when your email account is compromised. For phishing emails targeting your account, see how to identify phishing scams.

The Minimum Security Setup

If the full checklist feels overwhelming, here are the five things that prevent 90% of attacks. Do these first, then work through the rest over time:

  1. Strong, unique passwords on cPanel and WordPress (5 minutes)
  2. Enable 2FA on cPanel (guide) and WordPress (10 minutes)
  3. Verify SSL is active in cPanel → SSL/TLS Status (2 minutes)
  4. Install a security plugin — Wordfence or Sucuri (5 minutes)
  5. Set up automated backups with UpdraftPlus to cloud storage (10 minutes)
That's 30 minutes of work for protection against the vast majority of common attacks.

Wrapping Up

Website security doesn't have to be complicated. The attacks targeting small websites are automated and opportunistic — they succeed against the easy targets and move on when they encounter resistance. Every item on this checklist adds resistance.

Start with the minimum five, then work through the full checklist at your own pace. The most important thing is to start — a website with strong passwords, 2FA, and current software is already more secure than the vast majority of sites on the internet.

Every Cynet hosting plan includes built-in security features — Imunify360 malware scanning, DDoS protection, free SSL, daily backups, and account isolation — so you're starting from a strong foundation. The checklist above adds the layers that only you, as the website owner, can control.

Ready to get started? Browse Business Hosting or WordPress Hosting plans — security features are included on every tier.

security website security hackers malware beginner guide hosting malaysia checklist

Cynet Team

Cynet Hosting

The Cynet Hosting team shares insights on web hosting, domains, and building a successful online presence in Malaysia.

Need reliable hosting?

Get fast, secure Malaysian hosting with 24/7 support. Free migration included.

Explore Hosting Plans

Not sure which plan is right for you?

Get a personalized recommendation in under 60 seconds.

Find the Right Plan