Documentation

Visit Our xCloud Knowledge Base

Here is your one-stop source for in-depth articles, FAQs, and tutorials for you to excel at hosting & managing your websites.


How to Set Up WP Fail2Ban with xCloud on Your WordPress Site

WP Fail2Ban is a powerful WordPress plugin that enhances the security of your site by logging and helping to prevent malicious login attempts. When integrated with xCloud, it offers additional security features such as blocking failed logins, spam protection, and more.

Follow the steps below to integrate WP Fail2Ban with xCloud and get enhanced protection for your WordPress website.

Step 1: Access Your WordPress Site #

To begin the integration, log into the WordPress dashboard of the site where you want to enable WP Fail2Ban. From the dashboardโ€™s sidebar, navigate to the โ€˜Toolsโ€™ menu and select โ€˜NGINX & Securityโ€™

Note: For OLS servers, go to the โ€˜Securityโ€™ option from the menu to access this feature.

WP Fail2Ban with xCloud

Step 2: Enable WP Fail2Ban Plugin #

Within this section, youโ€™ll find the option to enable WP Fail2Ban with xCloud. Once you toggle this feature on, the plugin will be automatically installed and activated on your site. 

WP Fail2Ban with xCloud

Step 3: Configure Security Settings in xCloud #

After enabling the plugin, head over to the xCloud dashboard to configure your preferred security settings. Here, youโ€™ll find options such as ‘Block Failed Login Attempts‘, ‘Block Common Usernames’, ‘Block User Enumeration’, ‘Protect Comments‘, ‘Block Spam‘, ‘Guard Password Resets‘, and ‘Guard Pingbacks‘. Finally, click the ‘Save Settings‘ button to apply the changes.

๐Ÿ’กInfo

  • Block Failed Login Attempts โ€“ Prevents brute-force attacks by blocking IPs after repeated failed login attempts.
  • Block Common Usernames โ€“ Stops login attempts using commonly targeted usernames like โ€œadminโ€ or โ€œtest.โ€
  • Block User Enumeration โ€“ Prevents attackers from discovering valid usernames through URL or query tricks.
  • Protect Comments โ€“ Shields the comment section from spam, abuse, and malicious input.
  • Block Spam โ€“ Detects and blocks known spam activity across forms and comments.
  • Guard Password Resets โ€“ Blocks suspicious or excessive password reset requests to prevent account hijacking.
  • Guard Pingbacks โ€“ Blocks fake or harmful pingbacks used in spam or DDoS attacks.
WP Fail2Ban with xCloud

Now, if you log in to your website dashboard, you can see the WP Fail2Ban plugin installed and activated. Just go to your site and then head over to the plugins section.

Edit the Configuration File  #

Additionally, when the WP Fail2Ban plugin is enabled, it automatically creates a configuration file named โ€˜wp-fail2ban-config.phpโ€™ in the โ€˜wp-contentโ€™ directory of your site. You can access this file by opening your siteโ€™s File Manager or connecting via FTP. If needed, you can manually edit this file to adjust advanced settings. 

Note: If you disable the WP Fail2Ban plugin, this configuration file will be automatically deleted.

WP Fail2Ban with xCloud

Integrating WP Fail2Ban with xCloud is a straightforward yet effective way to bolster your WordPress site’s security. With features that protect against brute-force attacks, spam, and unauthorized access, this setup offers peace of mind and proactive defense. 

Troubleshooting Common Issues and Managing IP Access #

1. Unban IP Addresses #

Sometimes, server owners may find themselves accidentally blocked or may want to grant special access to specific IPs. In such cases, there are two ways to manage this. First, you can go directly to the Server โ†’  Security โ†’ Firewall Management section, where you can manually ban or unban IP addresses. 

2. Whitelist And Blacklist IP Addresses #

Alternatively, you can go to ‘Site โ†’ Tools โ†’ IP Management‘, where youโ€™ll have the ability to whitelist or blacklist any IP. Whitelisted IPs will be completely exempt from Fail2Ban restrictions, ensuring they are never blocked, while blacklisted IPs will be denied access to the site entirely, regardless of behavior.

Note:  Whitelisted IPs will never be banned by Fail2Ban. Blacklisted IPs will be completely blocked from accessing the site.

WP Fail2Ban with xCloud

3. New Log Types Added  #

Additionally, xCloud has introduced two new log types within the Server Log Viewer: the Fail2Ban Log and the Auth Log. These provide insight into IP blocking activity and authentication attempts, making it easier than ever to monitor your siteโ€™s security in real time. Both logs are available for servers running on NGINX as well as OLS.

WP Fail2Ban with xCloud

Still stuck? Contact our support team for any of your queries. 

What are your feelings
Updated on April 18, 2025

Server Name

RAM

SSD

xCloud Provider Price/m
(For LTD users)

VULTR Price/m

DO Price/m

Newcomer

1GB

25GB

$4.50

$5.00

$6.00

Basic

2GB

55GB

$9.00

$10

$12.00

Standard

4GB

80GB

$18.00

$20

$24.00

Professional

8GB

160GB

$36.00

$40

$48.00

Business

16GB

320GB

$72.00

$80

$96.00

Server Name

RAM

SSD/NVMe

xCloud Provider Price/m
(For LTD users)

VULTR Price/m

DO Price/m

Lite

1GB

32GB

$5.40

$6.00

$8.00

Personal

2GB

88GB

$16.20

$18.00

$24.00

Growing

4GB

128GB

$21.60

$24.00

$32.00

Elite

8GB

256GB

$43.20

$48.00

$64.00

Titanium

8GB

384GB

$86.40

$96.00

$96.00

Ultimate

32GB

512GB

$172.80

$192.00

$192.00