How To Add an Additional IP Address in cPanel Server

WHM IP functions

Cpanel servers allow you to add multiple IP addresses. Additional IP addresses are useful for running name servers, hosting sites on different IP addresses (many use dedicated IP for SEO), and mail servers. Before you can add additional IP addresses to a server, you need it purchased from your server provider. To add an IP […]

Read More…

Flask Python framework

Flask is a Python framework. You can find more info at the official website. How to start a Flask application? To start flask application, run

How to run flask application on port 80 To run flask application on port 80, use command

Or edit, use the following code

Or you […]

Read More…

How to redirect a domain with html extension in Nginx

A WordPress website needs to migrate to a different domain, on a new domain site use static HTML pages. On the source site, WordPress is configured to use URL like https://domain1/page-name/, on the new server, the same page available on URL https://domain2/page-name.html

To do the redirection, edit Nginx configuration for the website, on top […]

Read More…

CPanel SSL Renew on password protected site

cpanel password protected site ssl

We have a site where we host demo websites that we do for our customers. We don’t want search engines to index these sites or strangers to see them. So it is password protected. The problem is Cpanel Auto SSL needs to access URI like /.well-known/ for SSL domain validation. With password protection, SSL domain […]

Read More…


Podman is a daemonless, open source, Linux native tool designed to make it easy to find, run, build, share and deploy applications using Open Containers Initiative (OCI) Containers and Container Images. It is compatible with docker cli, so you can alias podman to docker. To install podman on Oracle Linux 8, run

Once installed, […]

Read More…

Find expiry date for SSL certificate using openssl

To find the expiry date of an SSL certificate using openssl command, run


notBefore is the start date for the SSL. notAfter is the expiry date for the SSL. See OpenSSL […]

Read More… list all SSL certificates is an open source bash script that makes it easy to issue free SSL certificates using LetsEcrypt and ZeroSSL. To list all SSL certificates, use the command

Example If you need to delete an SSL certficate, run command


See […]

Read More…

Nginx file upload error

When uploading a file on a PHP Application running under an Nginx web server, I get the following error

The error was due to wrong ownership for folder /var/lib/nginx/tmp/client_body/ or one of its parent folders. On this web server, nginx was running as user nobody, so to fix the error, I run the following […]

Read More…

MySQL see all charsets

To see all charsets available on your MySQL installation, run the command

maxlen column specifies how many bytes are required to store one character.

latin1 charset uses 1 byte to store a character. uff8mb4 uses 4 bytes to store a character. See MySQL […]

Read More…

How to Enable Magento 2 Cronjob

Magento uses cron jobs for numerous features to schedule activities. To enable the cron job in Magento 2, log in to the server using SSH. Switch to the appropriate user if you are logged in as root. Now run command

If you need to remove the cronjob, run

See Magento […]

Read More…