How to uninstall ImunifyAV from your server?

ImunifyAV is not suitable for every server and maybe sometimes you need to uninstall ImunifyAV from your server to work properly.

In this short article, I will try to explain how to uninstall ImunifyAV from your server using few commands. So follow the process along with me to remove imunifyAV from your server.

Step 1:

Access the SSH client as root of your server using credentials to your server. Like bitwise or Putty,

How to uninstall ImunifyAV from your server?

Step 2:

Stop the imunifyAV services using the command given below.

systemctl stop imunify-antivirus

Step 3:

Now download the imunifyAV script to uninstall the imunifyAV from your server. To download that scrip use the command.

wget https://repo.imunify360.cloudlinux.com/defence360/imav-deploy.sh

Step 4:

Now run the uninstall script and remove the ImunifyAv from your server. use the command given below.

bash imav-deploy.sh --uninstall

Here you can read How to log in to the Rainloop admin dashboard?

Read More: How to Change Upload limit On CyberPanel?

How to Change Upload limit On CyberPanel?

You can follow us on Facebook too.

How to force redirect HTTP to HTTPS website in CyberPanel?

In this article we will tell you how to force redirect HTTP to HTTPS website in CyberPanel?

What is HTTP?

HTTP stand foe Hypertext Transport Protocol. When you enter http:// in your address bar in front of domain, it tells the browser to connect over HTTP. HTTP use TCP(Transmission control protocol), generally over port 80, to send and receive data packets over ther web.

What is HTTPS?

HTTPS stands for Hypertext Transfer Protocol Secure (also referred to as HTTP over TLS or HTTP over SSL). When you enter https://in your address bar in front of the domain, it tells the browser to connect over HTTPS. Generally sites running over HTTPS will have a redirect in place so even if you type in http:// it will redirect to deliver over a secured connection. HTTPS also uses TCP (Transmission Control Protocol) to send and receive data packets, but it does so over port 443, within a connection encrypted by Transport Layer Security (TLS).

Redirect from HTTP to HTTPS

if you forcefully redirect your website HTTP to HTTPS in Cyberpanel, you will need to add a rewrite rule to that website in order to have it automatically forward to HTTPS instead of HTTP.

In CyberPanel you can forcefully redirect HTTP to HTTPS website using rewrite rules.

To add this:

Force redirect HTTP to HTTPS website in CyberPanel:

  1. Select Websites on the left menu
force redirect HTTP to HTTPS website in CyberPanel

2. Choose the SSL enabled website from the list

force redirect HTTP to HTTPS website in CyberPanel

3. Select “Rewrite Rules” in the Configuration section

force redirect HTTP to HTTPS website in CyberPanel

4. Copy and paste the following code:

force redirect HTTP to HTTPS website in CyberPanel
rewriteCond %{HTTPS} !on
rewriteCond %{HTTP:X-Forwarded-Proto} !https
rewriteRule ^(.*)$ https://%{SERVER_NAME}%{REQUEST_URI} [R,L]

5. Now just save your changes, and you’re done!

After doing this on OpenLiteSpeed you must have to restart your webserver. Beacuse OLS need to restart to read the rewrite rules properly.

How to add ZeroSSL on your site? Free SSL for your website?

Read More: How to Change Upload limit On CyberPanel?

How to Change Upload limit On CyberPanel?

How to Setup Catch-All Email Account in Postfix?

Do you want to catch-all emails in postfix? Does missing emails due to misspelling addresses bothered you? Then this article is for you.

A catch-all email account is used to get all emails sent from every email account of your domain. No matter that email account exists or someone misspelled that email. Catch-all is usually used when you do not want to lose any email due to the wrong email address or email that did not exist.

Here we discuss all steps that are needed to set up a catch-all email account in Postfix.

Follow along so you can easily setup and never miss any Email.

Create Catch All Account:

The first step is to create a catch-all account where you will receive all emails. Which are lost due to misspelling or non existing email?

To do so you have to add a virtual alias to the Postfix server. The path of file where you have to add the alias is /etc/postfix/virtual.

You have to edit this file in your favorite Editor I chose vi editor. Use this command to edit the file.

vi /etc/postfix/virtual
Setup Catch-All Email Account in Postfix

Now add the address for catch-all at the end of this file. Add the address like:

@yourdomain.com username

You can also specify any email account where you want to catch-all emails. You can specify different email account for this operation also. like:

Support@example.com Support@example.com
team@example.com  team@example.com
help@example.com help@example.com

If you didn’t specify the valid account then your valid account’s email will also go to that specific email you specify for catch-all. This account helps to Catch-all email that you miss due to non existing account or misspelled email addresses.

After adding these Alias to /etc/postfix/virtual save and exit.

After this we have to run a command to execute this file again.

postmap /etc/postfix/virtual

Now your updated file is loaded shift to next step.

Setup Postfix Configuration:

After editing the virtual file now its time to do some configurations in the postfix configuration file. In order to do this go to the file etc/postfix/main.cf. Edit this file in vi or any other editor you like. for vi use this command:

vi /etc/postfix/main.cf

you have to add virtual_alias_maps in this file add this line at the end of this main.cf file:

virtual_alias_maps = hash:/etc/postfix/virtual

Reload Postfix for new settings:

Now Postfix needs to reload so it can fetch the new settings. To reload postfix run the command:

systemctl reload postfix
systemctl reload postfix

Now all done good to go.

How to Setup Two Factor Authentication in CyberPanel?