softaculous

To install softaculos, run

You need to enable ioncube, this can be done in WHM > Tweek Settings

Point Domain to Heroku App

To point a domain to heroku application, first add a domain to heroku application under Your Application > Settings.

Once domain is added, you will see DNS record like

You can login to your domain/DNS provider, add a CNAME record for www and point to the heroku domain provided.

Naked Domain

For domains with out www, you cant point to a CNAME. If your domain provider have option for URL forwarding, you need to forward the URL to http://www.yourdomain.com

If you don’t have one, you may need to get a cheap web hosting and set forwarding for naked domain using .htaccess

Cpanel Server

To update cpanel server license, run

Example

Cpanel New Server Setup

Cpanel Tips

Install Modules

Errors

See Hosting Control Panel

zypper install

zypper

zypper command is used for package management in OpenSUSE.

To update your system, run

Install a Software

Example

zypper install

Finding Package

To find package that provide the software need, you can use

Example

SUSE | openSUSE

heroku

To install heroku cli on Ubuntu, run

cloudlinux

CloudLinux have 2 type of licenses, IP based and key based.

You can check the type of license you have at

https://cln.cloudlinux.com/clweb/public/license-lookup.xhtml

If you have IP based, run

For key based, run

cagefs
Convert CentOS to CloudLinux
cagefs mount points exists
Install Imunify Anti Virus on Cpanel Server
Install ImunifyAV on Cpanel Server
Uninstall CloudLinux imunify360
Install KernelCare

PHP Selector

selectorctl
Enable CloudLinux PHP lsapi
CloudLinux EasyApache 4 Profile Missing
CloudLinux PHP Selector on Cpanel Server
CloudLinux PHP versions missing in PHP Selector

Nginx Redirect

Redirect site from www to non-www

Redirect www domain to non-www

If you use custom ports, use

Redirect Naked Domain to www

Redirect a site to HTTPS

To redirect a specific URL to another URL

If you want to redirect a URL that matches specific pattern, use

ufw

ufw is firewall in Ubuntu.

To enable

To list available apps, run

To see status, run

Stop ufw

Start ufw

Open Ports

Here are some commands to open ports.

Following command open tcp ports 8000 to 9000.

Whitelist an IP

To allow an IP to access all services

To allow to specific PORT