How to further secure your WHMCS installation

Description
  • When WHMCS is installed, a few steps can be taken to bolster its security.
  • Open up your favorite FTP client or your control panel’s file manager. We will be using cPanel’s file manager for this tut.
  • By default, all files and directories contained in public directory of a web server can be directly downloaded by anyone. For certain content, such as downloads and attachments, this behavior is undesirable.
  • Start by moving the attachments, downloads and templates_c directories outside the public access.
  • On most shared hosting accounts, the public directory is named public_html or www. What we need to do is move the folders below that directory and in most of the cases, it will mean to put them in home directory. Home directory is /home/demo.
  • Select each directory. Place them in a new folder on the same level as public_html. Click on Move File(s) button to proceed. The folders will most likely take a few seconds to finish moving.
  • When finished, you will be able to see the folders disappearing and that the new WHMCS directory has appeared on the same level as public_html.
  • Next, you can rename the admin directory to add some security through obscurity. This will help to prevent malicious users from attempting to log into your admin area.
  • Admin directory must remain inside this folder and can’t be moved like others. It can only be renamed.
  • Select the directory. Click on Rename button from the top. Give new filename and click on rename button, when done. The directory will be renamed.
  • Lastly, WHMCS needs to be informed about the changes to the directory structure. Scroll up and open configuration.php for editing.
  •  First, update the variable $templates_compiledir. Next, add two variables and directory paths that follow. Finally, add the following variable to tell WHMCS the new name of admin directory.
  • Now, you can verify that admin panel works in new location. You have finished enhancing WHMCS with extra security.

> PREVIOUS TUTORIAL NEXT TUTORIAL

BACK TO HOSTING TUTORIALS

SSD WEB HOSTING PLANS

Tell Us About Your Needs—We'll Recommend The Right Plan

SSD CLOUD Unlimited
$1.89
month
  • Up to 5x Faster than regular Unlimited with Wordpress Add-ons + CPANEL
  • Get Started!
Professional SSD Reseller
$16.99
month
  • Built for users who require cPanel hosting account with unlimited sites
  • Get Started!
Enterprise SSD VPS
$25.99
month
  • High Traffic Businesses with Dedicated functionality and control, in cloud platform
  • Get Started!
DEDICATED SERVERS
$89.99
month
  • High Traffic with Dedicated Hardware and Root Access without compromising the performance.
  • Get Started!
SSD SEO
$15.50
month
  • Hosting that fits SEO company which needs more C-class IPs with SSD performance.
  • Get Started!
SSD BUSINESS
$19.99
month
  • Web hosting that fits for businesses with SSD performance/
  • Get Started!
BULK EMAIL
$26.99
month
  • Bulk Email without limitation (Opt-In Email only). Not intended for SPAM/SOLICITED Emails
  • Get Started!

What features we have?

We are focused on delivering excellent levels of services with fast and reliable web services

     Transfer to KVCHOSTING ?

  •  Free Domain Name or Name Transfer!
  •  Free Unlimited Site Migration!
  •  24/7 Proactive support


     New Account with KVC ?

  •  Host Unlimited Site & Bandwidth
  •  Build & Publish with SiteBuilder
  •  Free 200+ 1-click script installs
  •  Wordpress, Joomla and many more...


     WEB HOST FEATURES

  •  cPanel Version 100
  •  PHP 8 , Apache 2.4 , Nginx and MariaDB
  •  Softaculous 1 Click install 435 tools
  •  24/7 Proactive Support
  •  SitePad website builder
  •  Weekly Backups
  •  Imunify Malware scanner
  •  Fully SSD Servers
  •  Fully hardened Servers and Services


     OUR COMMITMENT

  •  99.9% Uptime Guaranteed
  •  24/7/365 Tech Support
  •  Fastest Respond Time
  •  No Setup Fee & No Gimmicks
  •  Affordable Hosting Plans
  •  Full Raid Servers (Raid 10)
  •  Get over $1000 in Free Extras
  •  Free over 2500 Website Templates
  •  No Setup Fee & No Gimmicks
  •  Affordable Hosting Plans
  •  Full Raid Servers (Raid 10)
  •  Free over 1000 Hosting Tutorials

2024 HOSTING REVIEWS

Our reputation of excellence is unmatched - we pride ourselves on being experts that our clients can depend on for whatever they need



(56 reviews)


(188 reviews)
award

(334 reviews)
award

(244 reviews)
award

(251 reviews)


(26 reviews)


(71 reviews)
award

(81 reviews)


(71 reviews)
award

(12 reviews)

Our Awards

2024 HOSTING ACHIEVEMENTS

We have received many awards in our 8+ years of providing web hosting service

Testimonials

.......................................................

  I almost never use the word "Perfect", but here I want to say KVCHosting service is PERFECT! Even though it has been only one year I have been a customer of theirs, I can still say KVCHosting is the best and Perfect, without any doubts. Thanks for your service and fast responds. If you care about Customer Service and Stability, KVCHosting is the ideal place for you 

.......................................................

Charles Griffith
Senior Marketing Manager

.......................................................


  KVCHosting provides affordable and reliable hosting services to small and medium-sized businesses across the globe. The company's broad portfolio of cloud, virtual, and dedicated servers includes SEO-friendly hosting packages backed by detail-oriented support. 


.......................................................


Christine Preusler
HostingAdvice

.......................................................


  I almost never use the word "Perfect", but here I want to say KVCHosting service is PERFECT! Even though it has been only one year I have been a customer of theirs, I can still say KVCHosting is the best and Perfect, without any doubts. Thanks for your service and fast responds. If you care about Customer Service and Stability, KVCHosting is the ideal place for you 


.......................................................


Charles Griffith
Senior Marketing Manager