<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: XclusiveCloud</title>
    <description>The latest articles on DEV Community by XclusiveCloud (@xclusiveclouds).</description>
    <link>https://dev.to/xclusiveclouds</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Forganization%2Fprofile_image%2F13445%2F396c88c0-3178-4315-ae95-7b87471f58d7.jpeg</url>
      <title>DEV Community: XclusiveCloud</title>
      <link>https://dev.to/xclusiveclouds</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/xclusiveclouds"/>
    <language>en</language>
    <item>
      <title>Building a WHMCS Billing System for Nigerian Naira — Complete Setup Guide</title>
      <dc:creator>XclusiveCLoud</dc:creator>
      <pubDate>Sun, 24 May 2026 10:17:39 +0000</pubDate>
      <link>https://dev.to/xclusiveclouds/building-a-whmcs-billing-system-for-nigerian-naira-complete-setup-guide-1p29</link>
      <guid>https://dev.to/xclusiveclouds/building-a-whmcs-billing-system-for-nigerian-naira-complete-setup-guide-1p29</guid>
      <description>&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;WHMCS is the industry-standard billing and client management platform &lt;span class="k"&gt;for &lt;/span&gt;web hosting
companies. If you&lt;span class="s1"&gt;'re building a hosting business in Nigeria, here'&lt;/span&gt;s exactly how to
configure WHMCS &lt;span class="k"&gt;for &lt;/span&gt;Nigerian Naira billing with Paystack.

This is the exact setup we use at XclusiveCloud &lt;span class="o"&gt;(&lt;/span&gt;xclusivecloud.com&lt;span class="o"&gt;)&lt;/span&gt;&lt;span class="nb"&gt;.&lt;/span&gt;

&lt;span class="c"&gt;## Prerequisites&lt;/span&gt;

- WHMCS license &lt;span class="o"&gt;(&lt;/span&gt;start with a Starter license at ~&lt;span class="nv"&gt;$15&lt;/span&gt;.95/month&lt;span class="o"&gt;)&lt;/span&gt;
- cPanel/WHM hosting environment
- Paystack business account &lt;span class="o"&gt;(&lt;/span&gt;verified with CAC documents&lt;span class="o"&gt;)&lt;/span&gt;
- Your domain &lt;span class="o"&gt;(&lt;/span&gt;e.g., xclusivecloud.com&lt;span class="o"&gt;)&lt;/span&gt;

&lt;span class="c"&gt;## Step 1: Install WHMCS&lt;/span&gt;

Upload WHMCS to your server root and run the installer:

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;&lt;br&gt;
bash&lt;br&gt;
cd /home/username/public_html&lt;br&gt;
unzip whmcs.zip&lt;br&gt;
php install/install.php&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;
During setup, configure:
- MySQL database credentials
- Admin username and password
- License key from whmcs.com

## Step 2: Configure Nigerian Naira Currency

In WHMCS Admin → Setup → Currencies:

1. Delete or deactivate USD as the default
2. Add Nigerian Naira:
   - Currency: Nigerian Naira
   - Code: NGN
   - Prefix: ₦
   - Suffix: (leave blank)
   - Rate: 1.00 (set NGN as the base currency)
3. Set NGN as the **default currency**

## Step 3: Install Paystack Payment Module

Download the WHMCS Paystack module from:
https://github.com/PaystackHQ/paystack-whmcs

Upload to `/modules/gateways/` and activate in:
WHMCS Admin → Setup → Payment Gateways → Paystack

Enter your Paystack Live Secret Key and Public Key from your Paystack dashboard.

## Step 4: Configure Paystack Webhook

In your Paystack dashboard → Settings → API Keys &amp;amp; Webhooks:

Set webhook URL to:https://yourdomain.com/modules/gateways/callback/paystack.php
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;&lt;br&gt;
plaintext&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;This allows automatic invoice payment confirmation.

## Step 5: Create Nigerian Hosting Products

In WHMCS → Setup → Products/Services → Create Product:

Example: Shared Hosting - Basic
- Price: ₦3,000/month, ₦30,000/year
- Module: cPanel
- Welcome email: include cPanel login details

## Step 6: Configure Nigerian Tax (VAT)

Nigeria has 7.5% VAT. In WHMCS → Setup → Tax Rules:

- Tax name: VAT
- Rate: 7.5%
- Apply to: All taxable products

## Useful Customisations for Nigerian Market

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;&lt;br&gt;
php&lt;br&gt;
// In /includes/hooks.php — add Naira formatting&lt;br&gt;
add_hook('ClientAreaProductDetails', 1, function($vars) {&lt;br&gt;
    // Custom naira price display&lt;br&gt;
});&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;
Full guide and WHMCS config files at: xclusivecloud.com/blog/whmcs-nigeria-naira-setup
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



</description>
      <category>webhosting</category>
      <category>php</category>
      <category>nigeria</category>
      <category>tutorial</category>
    </item>
    <item>
      <title>How to Harden a cPanel/WHM Server Against Common Attacks (Nigerian Hosting Guide)</title>
      <dc:creator>XclusiveCLoud</dc:creator>
      <pubDate>Sun, 24 May 2026 10:14:43 +0000</pubDate>
      <link>https://dev.to/xclusiveclouds/how-to-harden-a-cpanelwhm-server-against-common-attacks-nigerian-hosting-guide-4h2c</link>
      <guid>https://dev.to/xclusiveclouds/how-to-harden-a-cpanelwhm-server-against-common-attacks-nigerian-hosting-guide-4h2c</guid>
      <description>&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;As someone &lt;span class="nb"&gt;who &lt;/span&gt;runs a web hosting company &lt;span class="k"&gt;in &lt;/span&gt;Nigeria &lt;span class="o"&gt;(&lt;/span&gt;XclusiveCloud — xclusivecloud.com&lt;span class="o"&gt;)&lt;/span&gt;
and is doing postgraduate research &lt;span class="k"&gt;in &lt;/span&gt;Cyber Threat Intelligence, server security isn&lt;span class="s1"&gt;'t
theoretical for me — it'&lt;/span&gt;s something I implement and maintain daily.

Here&lt;span class="s1"&gt;'s a practical hardening checklist for cPanel/WHM servers, based on what actually
works in Nigerian hosting environments.

## 1. Enable and Configure CSF (ConfigServer Security &amp;amp; Firewall)

CSF is the go-to firewall for cPanel servers. Install it:

&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;&lt;br&gt;
bash&lt;br&gt;
cd /usr/src&lt;br&gt;
wget &lt;a href="https://download.configserver.com/csf.tgz" rel="noopener noreferrer"&gt;https://download.configserver.com/csf.tgz&lt;/a&gt;&lt;br&gt;
tar -xzf csf.tgz&lt;br&gt;
cd csf&lt;br&gt;
sh install.sh&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;
Critical CSF settings to change in `/etc/csf/csf.conf`:
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;&lt;br&gt;
properties&lt;br&gt;
TESTING = "0"           # Disable test mode&lt;br&gt;
LF_SSHD = "5"          # Block IP after 5 failed SSH attempts&lt;br&gt;
LF_CPANEL = "10"       # Block after 10 failed cPanel logins&lt;br&gt;
CT_LIMIT = "100"       # Max connections per IP&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;## 2. Restrict SSH Access

Never leave SSH open to the world. In `/etc/ssh/sshd_config`:
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;&lt;br&gt;
ssh&lt;br&gt;
Port 2222              # Change from default 22&lt;br&gt;
PermitRootLogin no     # Disable root SSH login&lt;br&gt;
PasswordAuthentication no  # Use key-based auth only&lt;br&gt;
MaxAuthTries 3&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Generate and use SSH keys instead of passwords:

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;&lt;br&gt;
bash&lt;br&gt;
ssh-keygen -t ed25519 -C "xclusivecloud-server"&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;
## 3. Install ModSecurity WAF

In WHM → ModSecurity Tools, enable ModSecurity and install OWASP CRS rules:

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;&lt;br&gt;
bash&lt;br&gt;
/scripts/modsec_vendor_install&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;
This blocks common web attacks: SQL injection, XSS, remote file inclusion, and directory
traversal — all of which are common targets for Nigerian websites.

## 4. Enable cPGuard (Malware Scanner)

cPGuard integrates directly into cPanel and scans for malware across all hosted accounts.
Enable it in WHM → cPGuard Malware Scanner.

Set up automated daily scans and email alerts to: alert@yourdomain.com

## 5. Force HTTPS for All Hosted Sites

In WHM → Apache Configuration, ensure all cPanel accounts redirect HTTP → HTTPS:

In each user's cPanel → .htaccess:

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;&lt;br&gt;
apache&lt;br&gt;
RewriteEngine On&lt;br&gt;
RewriteCond %{HTTPS} off&lt;br&gt;
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;
## 6. Configure Automated Backups

In WHM → Backup Configuration:
- Enable: Yes
- Backup type: Compressed
- Daily backups: Retain 7 days
- Weekly backups: Retain 4 weeks
- Backup destination: Remote (S3 or Backblaze B2)

Never store backups only on the same server. One ransomware attack will encrypt both.

## 7. Disable Unused PHP Versions and Functions

In WHM → PHP Configuration:
- Only enable PHP versions your clients actually use (typically 8.1, 8.2)
- Disable dangerous functions in php.ini:
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;&lt;br&gt;
ini&lt;br&gt;
disable_functions = exec, passthru, shell_exec, system, proc_open, popen&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;## 8. Enable Two-Factor Authentication on WHM

WHM → Security Center → Two-Factor Authentication

This is mandatory. cPanel credentials are a primary target in credential stuffing attacks.

## 9. Monitor Login Attempts with LFD

CSF's Login Failure Daemon (LFD) monitors and blocks brute-force attacks. Configure
alerts to your email in csf.conf:
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;&lt;br&gt;
properties&lt;br&gt;
LF_ALERT_TO = "&lt;a href="mailto:security@xclusivecloud.com"&gt;security@xclusivecloud.com&lt;/a&gt;"&lt;br&gt;
LF_ALERT_FROM = "&lt;a href="mailto:csf@yourserver.com"&gt;csf@yourserver.com&lt;/a&gt;"&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;## 10. Regular Security Audits

Monthly checklist:
- [ ] Run `rkhunter --check` to detect rootkits
- [ ] Review CSF block list for persistent attackers
- [ ] Check for accounts with weak passwords (WHM → Password Strength)
- [ ] Review error logs in `/usr/local/cpanel/logs/`
- [ ] Verify all SSL certificates are valid and auto-renewing

---

If you're running a Nigerian hosting business or self-hosting your own cPanel server,
implementing all of the above should be your first priority before onboarding clients.

I cover server security in more depth on the XclusiveCloud blog at xclusivecloud.com/blog —
including guides specific to Nigerian hosting environments.

What security measures are you running on your servers? Happy to discuss in the comments.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



</description>
      <category>webtesting</category>
      <category>security</category>
      <category>linux</category>
      <category>nigeria</category>
    </item>
  </channel>
</rss>
