We’re very pleased to announce that Node.js applications can now be deployed on all of our servers. This functionality is available within cPanel via the “Setup Node.js App” link that can be found under the software section. Upon selecting the “Create Application” button you’ll see the screen below.
When creating an application you have the following options available to you:
- Node.js Version – We currently offer the latest LTS (12.x) and prior LTS (10.x) versions. More can be added as needed though currently we plan to stick with the LTS releases (even version numbers). The desired version can be changed for any application at any time.
- Application Mode – Simply select Development or Production based on your needs.
- Application Root – This defines the file system path for the application, relative to the cPanel account’s home directory. If the cPanel user was “node” then entering “app” in this field would create the application at /home/node/app.
- Application URL – This configures the URL to be used with the application. If left blank, it will configure the root (sub)domain to load the application.
- Application Startup File – This defines your application startup file and will default to app.js if left blank.
You can also choose to define a passenger log file and setup custom environment variables if desired. Once you’ve created the application, you can visit the URL you configured for the application and see a basic test page like the one below.
Now that you have created an application, you can continue to manage it via cPanel. This includes restarting it, changing the Node.js version, switching between Development and Production, etc.
We know that many of you have been looking forward to this functionality and we’re eager to hear your feedback. Please let us know what you think here or via a ticket!
We’re excited to announce that we now support Python and Ruby applications across all of our hosting platforms! These have been popular feature requests and we’re happy to be able to announce their availability. These capabilities are made possible by CloudLinux’s Python & Ruby Selector as well as LiteSpeed’s mod_passenger support. Similar to the PHP Selector, Python and Ruby applications can be deployed directly via cPanel under the Software section as seen below.
If you select “Setup Python App”, you’ll be prompted to select your desired Python version, the app’s directory, and the app’s web address (URI). Currently, Python versions 2.7, 3.3, 3.4, 3.5, 3.6 and 3.7 are available. Continue reading
cPanel version 72, which we deployed to all servers about a week ago, has a couple of new features that I wanted to quickly highlight. The first of these adds the ability to setup Git repositories via Files -> Git Version Control in cPanel as seen below.
When creating a repository, you have the option to clone an existing one if desired. Once it has been created you’ll be provided with the SSH URL to access it. SSH (Shell) access will need to be enabled on the cPanel account and you’ll have to use the cPanel username and password to login.
On the topic of SSH access, a new in-browser terminal is also now available from directly within cPanel. This can be found under Advanced -> Terminal. We just activated this feature on our servers today due to a cPanel update now correctly launching these connections within CageFS. While I wouldn’t let it replace a desktop client for regular SSH access, it is certainly convenient to use on occasion since it is quickly accessible without having to do anything other than login to cPanel. SSH (Shell) access does have to be enabled on the cPanel account for the Terminal link to show up.
We hope you’re able to put these new features to good use and look forward to sharing more with you as further updates become available. Please don’t hesitate to submit a support ticket if we can be of any assistance with these features.
We’re excited to announce that two-factor (2FA) authentication is now available for all of our cPanel and WHM users! Two factor authentication adds an additional layer of security to your logins by requiring a security code in addition to your username and password to login. This security code is provided by an application on your mobile device once setup on your account.
WHM users can find the “Two-Factor Authentication” link on the left menu under the “Security Center” as seen below.
On this page you can go to the “Manage Users” tab to view and modify any cPanel users under your reseller account that have 2FA enabled. You can also go to the “Manage My Account” tab to setup 2FA on your own WHM account. Continue reading
As we get close to completing all of our server upgrades, I wanted to go ahead and quickly highlight a feature that is available on the new servers. We’ve permitted clients to change the version of PHP that their site uses for many years now but this has always required a modification to the domain’s .htaccess file. Although this wasn’t particularly difficult, it has been simplified even further with the inclusion of PHP Selector. PHP Selector is a CloudLinux component that sits on top of CageFS and allows each cPanel user to select their desired PHP version.
Once you’ve logged into cPanel you’ll find the “Select PHP Version” option under the “Software” menu group as shown below.