How to replace cPanel server main IP

  This is for CentOS/RHEL based servers. Steps in WHM: Log into WHM and go to Basic cPanel & WHM Setup Change the Primary IP here with the option that says “The IP address (only one address) that will be used for setting up shared IP virtual hosts“ Note: This might not actually be necessary. Log …

is already an active IP (cPanel /WHM)

Solving WHM Add a New IP Address error: Skipping xx.xxx.xx.xx .. already added.   If you recently changed server main IP, make sure to update this file with the new main IP: /var/cpanel/mainip   And make sure the IP is not mentioned in this file: /etc/ips Then try again.

How to Force HTTPS using .htaccess

Encryption is essential and security is priority. If you want to force your users to use HTTPS version of your website, you can use a small code to do this. Open .htaccess on your public_html folder or any sub-folder and add this code on top: RewriteEngine On RewriteCond %{SERVER_PORT} 80 RewriteRule ^(.*)$ https://www.example.com/$1 [R,L] change …