cPanel® Blog

Category: Products

Foundations and Beginnings

“To put it bluntly, I seem to have a whole superstructure with no foundation. But I’m working on the foundation.” – Marilyn Monroe It’s probably safe to say, this is the first article about UI/UX that you have ever read that quoted Marilyn Monroe. cPanel has been at the forefront of the managed hosting business since its inception, and the changes that you are starting to see in WHM and cPanel ‘x4’ are just the …

Introducing the Most Stable, Best Looking and Most Dependable Web Hosting Platform Ever, cPanel!

The results are in, 2012 ended on a high note for us at cPanel! I’d like to take a moment here and look back at some of the changes we’ve made over the course of the past year and how those changes has turned an exciting, prosperous, and very busy 2012 for this company as a whole, into something that is already generating a great deal of momentum for us, going into 2013. Full speed …

cPanel RPMs Q&A

What are RPMs? RPM stands for Red Hat Package Manager. This allows for the easier and quicker deployment of files. RPMs create a standard for installation of how different pieces of software are installed on a system. This software can be anything from wget to Perl or Python. Instead of building files from source, RPMs come prebuilt. RPMs also allow for easier updating of systems. Why is cPanel & WHM Switching to RPMs? For much …

Update Prep: How to Test Your Software with the Upcoming Versions of cPanel & WHM

With the release of cPanel & WHM 11.36 on the horizon, how should Integrators test their software before it gets to the masses? Every time cPanel releases a new version of cPanel & WHM we get tickets that all seem to read, “cPanel broke my websites! I am losing money!” Often, the cause is a problem with a third-party application. We hate downtime, and like you, we want to give the customer the best experience …

2012-06-18 Update

Our last article brought you up to date on some aspects of our localization efforts. However the team working on integration with the translation service have not stood still. What have they accomplished since the last article? What are they currently working on? What do we intend in the future for localization in cPanel & WHM? …

Localization Update

You’re probably wondering what’s going on with Localization in cPanel & WHM. In cPanel & WHM 11.32 we introduced a new login system with enhanced localization capabilities. More on these capabilities later. One thing notable about the login system is every piece of text, every string, is localized. So why are these localized strings of such poor quality? The current state of quality is because all the strings (in the login system) are machine translated …

Developing with LiveAPI

In earlier versions of cPanel, developers included a script called LivePHP. This technology is essentially an internal window on the server to make API 1 and API 2 calls to the local machine via a socket to cpsrvd. Through LivePHP, you could use API functions through API tags and our Remote XML or JSON API. This is the suggested best practice for accessing cPanel functionality from your Plugins for reasons of simplification and …

Create Custom cPanel Modules

Nearly all cPanel actions are governed by cPanel API1 and API2 functions. For your application, instead of creating your own API from scratch, we’re created the ability to add your application’s logic to the cPanel XML/JSON API. Essentially speaking, your custom cPanel Perl Module can create a remote window of access to your application’s functions to be used through the XML/JSON APIs, LiveAPI, or cPanel tags. The ability to build and use Custom cPanel Modules …

Test it in the User Interface

After spending time in the Developer section of the cPanel Community Forums, we’ve found a commonly asked question: “Why won’t my script work with XYZ function using the XML/JSON-API?” Rewinding a bit, the purpose of the XML/JSON API is to allow usage of cPanel & WHM functions through applications or scripts. Naturally, the first question we often ask, when trying to figure out why a script isn’t working, is if the user is trying to …

Making your script work with security tokens in cPanel & WHM

What is a security token? “Security token” URLs were added in cPanel & WHM 11.25 as a security measure, and they were enabled by default in version 11.28. They help combat a common type of attack called a Cross-Site Request Forgery (XSRF). So, what does a “security token” look like? Take, for example, this URL: https://example.com:2087/i/love/cpanel With security tokens enabled, this would become: https://example.com:2087/cpsessYYYYYYY/i/love/cpanel In that example, cpsessYYYYYYY is the token unique to that logged-in …