1. Websta Hosting
Backups & Security

Securing Your Hosting Account

Securing Your Hosting Account

Strong Passwords

Use unique, strong passwords (16+ characters, mixed case, numbers, symbols) for:

  • DirectAdmin control panel
  • FTP accounts
  • Database users
  • WordPress / CMS admin

Use a password manager such as Bitwarden or 1Password.

Two-Factor Authentication

Enable 2FA on DirectAdmin: Your Settings → Two-Factor Authentication → Enable.

Keep Software Updated

Update WordPress, plugins, and themes regularly. Outdated software is the #1 cause of website compromises.

Correct File Permissions

Type Permission
Directories 755
PHP / HTML files 644
wp-config.php 640

Fix via SSH:

find public_html -type d -exec chmod 755 {} \;
find public_html -type f -exec chmod 644 {} \;
chmod 640 public_html/wp-config.php

SSH Key Authentication

# Generate key pair locally
ssh-keygen -t ed25519 -C "your@email.com"

# Copy public key to server
ssh-copy-id -i ~/.ssh/id_ed25519.pub username@your-server.com

Contact support to disable password-based SSH login after setting up key auth.

Still need help?

If this article didn't answer your question, our support team can help.

Contact support
All articles More in Backups & Security