How to resolve 404 error from website internal pages on LiteSpeed/Cyberpanel?

How to resolve 404 error from website internal pages on LiteSpeed/Cyberpanel?

Some time you face 404 error on all internal pages of your website. This often happened when you move your website from one server to any other or change any internal configurations. Here in this article we will tell you How to resolve 404 error from website internal pages on LiteSpeed Cyberpanel.

Without going deep let me tell you the reason for this. This happened due to the permissions or the rewrite rules. As after changes Open litespeed need a restart.

To resolve 404 error from website internal pages on LiteSpeed/Cyberpanel we just have to do 2 steps.

Steps to resolve 404 error from website:

1. Fix permissions.

Login to your cyberpanel on port 8090.

https://<YOURIP>:8090
cyberpanel login

Got to the website->list websites then click on Manage button present in front of your domain which have issue.

Manage Website
Manage Website

Scroll down and find file manager click on it and here you will find fix permissions button click that a green pop up appears.

fix permissions
fix permissions

2. Restart LiteSpeed Webserver

After doing all restart the Open liteSpeed webserver. You can do it two way one through command.

Systemctl restart lsws

.Or go to the Server status-> LiteSpeed status and press restart.

How to resolve 404 error from website internal pages on LiteSpeed/Cyberpanel?

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 change time zone on Linux server using command line?

How to change time zone on Linux server using command line?

In this article, we will know How to change time zone on a Linux server using command line. This is a very easy and a few steps process so follow along to change your time zone according to your need.

The Time zone is the standard time for any specific region. The server time zone is a basic and one of the important things. Server time zone set while installing and setup server. Sometimes we need to change our server time zone according to our requirements. There are many ways but here we will go through command line one. This is one of the easy ways while using Linux.

How to check Current TimeZone of your server?

Before changing your server time zone first of all you must know what is the current time zone of your server to do so you just need to run a very simple command. This command is available in all Linux flavors.

open terminal and run:

$ timedatectl
How to check Current TimeZone of your server?

You can see your current time zone of your server.

2. Set / Change Time zone on Linux Server Using Command line:

Before changing your time zone first of all you must have to know about the time zone you want to set. Like if you want to set somewhere in Asia. you must have to know about your region and cit. Now, how you can do it.

For this there is a command to list all time zones:

$ timedatectl list-timezones
List all time zones

Select your required time zone from the list and add it to this cmd.

timedatectl set-timezone “you time zone”

Make sure that you are login from root account if not use sudo with this.

$ sudo timedatectl set-timezone <your specific time zone>
set time zone

After running this run the timedatctl again and verify if time zone updated or not.

$ timedatectl

Now you can see time zone that you set using above methode.

NOTE: Time zone is one of the core important things many features and services depend upon it so before doing anything make sure that you understood all. moreover, you just need a reboot to apply a new time zone on all servers.

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 Access Rainloop Webmail in CyberPanel?

A lot of CyberPanel user uses Rainloop to handle their email. Rainloop is an internal email solution with CyberPanel. Here in this article, we will discuss how you can access Rainloop webmail in CyberPanel?

Rainloop is an efficient memory webmail solution. it is a fast, simple, and modern web-based client email client. Rainloop is the email solution that comes with CyberPanel. It has an amazing user interface. Not only the interface also works great as any other email services.

This article is specifically about access rain loop webmail in CyberPanel.

Follow these steps Access Rainloop Webmail in CyberPanel:

Login you CyberPanel:

First of all, you need to log in to the CyberPanel dashboard. For this, you must have a username and password (admin or non-admin). Visit your the server IP or hostname with port 8090 to login to cyberpanel.

https://<ip/hostname>:8090
CyberPanel Login

2. Create and Email to Login:

Here you can read How to create email account. After creating mail keep these records so you can use to login.

3. Access WebMail:

To access webmail simple go to the Email->Access WebMail. you will be redirected to the link:

https://<IP/Hostname>:8090/rainloop/index.php

provide your email and password to login.

How to Access Rainloop Webmail in CyberPanel?
How to Access Rainloop Webmail in CyberPanel?

4. Rainloop Admin settings:

if you want to change Language, Layout, Default Text Editor, Message on Page, Notifications, etc settings. Login into rainloop admin dashboard and change there.

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?

How to log in to the Rainloop admin dashboard?

Sometimes we need to log in to the rainloop dashboard to do some configurations. Here in this article, we will tell you how to log in to rainloop admin dashboard?

Rainloop is an efficient memory webmail solution. it is a fast, simple, and modern web-based client email client. Rainloop is the email solution that comes with CyberPanel. It has an amazing user interface. Not only the interface also works great as any other email service.

RainLoop Admin Dashboard access address:

To access rainloop dashboard you just need to go to.

http://your-webmail.domain.com/?admin

But in case of cyberpanel it will be like:

https://<IP/Hostname>:8090/rainloop/?admin

You can access rainloop web admin using this link.

How to login to Rainloop admin dashboard?
How to login to Rainloop admin dashboard?

RainLoop admin Password:

Default login is “admin”, password is “12345”. But in the case of CyberPanel and changed password here is the location of rainloop admin password.

CyberPanel Rainloop admin password location:

/usr/local/CyberCP/public/rainloop.php

General Rainloop admin password location:

/var/www/rainloop/data/_data_/_default_/configs/application.ini

How to Access Rainloop Webmail in CyberPanel?

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 add ZeroSSL on your site? Free SSL for your website

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

You always need a secure URL for your website. Secure means your website will be accessible with SSL(Secure Sockets Layer). It’s very important to access your site on HTTPS instant of HTTP. Today I will tell you how you can add ZeroSSL to your website. ZeroSSL is totally free for your website.

ZeroSSL allows the free start of three domains. You can add free-of-cost SSL to your first three sites after those you have to buy if you want to issue SSL for more sites.

Create ZeroSSL account:

In first step you have to create an account on ZeroSSL website. For this go Here.

Here on this page you can see the Get Free SSL button click on that and visit to registration button.

On this page you have to provide some information to signup.

  1. Subscription Plan
  2. Email Account
  3. Password

After providing these all press to the Next Step button.

Once you press this button you can see the ZeroSSL dashboard.

Create New SSL Certificate:

Here on Dashboard you can see New Certificate button press this button present in the above image.

On the next page you have to provide following information:

  1. Enter Domain (Enter your domain name for which you want to issue SSL)

You will see this Green ticks for a valid domain name.

2. Validity (For how many time this ssl is valid )

Usually for 90 days its free and if you want for 1 year you have to buy.

3. CSR & Contact

Finalize Your Order (you have to select )

You have limit to issue three free ssl to your domain. Once the process of plan selection done now you have to verify your domain.

Verification Method:

ZeroSSL allow three types of verification:

  1. Email Verification
  2. DNS (CNAME) HTTP  
  3. File Upload

You can chose any one you are comfortable with. If you have this email then use it, or update DNS records according to the second or upload the file to dns.

Verification Method:
Verification Method:

After this you will get a option to download SSL. you can download crteficate.

download SSL
download SSL

Add ZeroSSL to your Website?

When you got your SSL file there must be three files after extracting. ca_budle, certificate, private key

Add these files values according to the require mint on your site.

Read More: How to Change Upload limit On CyberPanel?

How to Change Upload limit On CyberPanel?

How to solve the can’t upload the file on file manager issue in CyberPanel?

if you are uploading a file on file manager in CyberPanel. and getting some error there. Follow this short solution for can’t upload the file on CyberPanel file manager.

Solution

There is very easy and short solution for this issue. Access your root through Bitvise or putty open your terminal(CLI) and run this Command

Systemctl restart lscpd

This simple command will restart all of your CyberPanel services and now if you can try you can easily upload any file but there may be upload limit issue if so you can follow this tutorial to solve that Link below.

How to Change Upload limit On CyberPanel?

How to remove MailScanner from Cyberpanel?

How to remove MailScanner from Cyberpanel?

Maybe you have installed MailScanner on your server from CyberPanel, And you want to remove it for some reason. In this article, we are going to show how to remove MailScanner from CyberPanel?.

What is MailScanner?

MailScanner is an open-source email security system. it designed for a Linux-based email gateway. The purpose of MailScanner is to scans email for viruses, spam, phishing, malware, and other attacks against security vulnerabilities.

Follow the procedure to remove MailScanner form CyberPanel:

1. Download MailScanner uninstaller script form GitHub

Frist you need to download uninstaller form GitHub . Run this command on CLI it will download MailScanner uninstaller

wget https://raw.githubusercontent.com/usmannasir/cyberpanel/stable/CPScripts/mailscanneruninstaller.sh
How to remove MailScanner from Cyberpanel?
Download MailScanner uninstaller script form GitHub

2. Set the execute permission

After download uninstaller you need to set execute permission to MailScanner uninstaller by running this command on CLI

chmod +x mailscanneruninstaller.sh

3. Uninstall the MailScanner

Once you downloaded MailScanner uninstaller and set the execute permissions then run the command to uninstall Mailscanner.

./mailscanneruninstaller.sh

After this the Mail Scanner is successfully removed form CyberPanel.

Read more: How to create, delete and manage Child Domains in CyberPanel?

How to fix Fix WordPress 404 permalink OpenLiteSpeed- 404 error on OpenLiteSpeed

How to fix Fix WordPress 404 permalink OpenLiteSpeed- 404 error on OpenLiteSpeed

If you host your WordPress websites with OpenLiteSpeed you may get a 404 error on the permalink of your website. here in this article, I will explain how you can fix ix WordPress 404 permalink OpenLiteSpeed.

OpenLiteSpeed is the free version of LiteSpeed Enterprise and this free version is not as stable as the paid version. Not OpenLiteSpeed WordPress permalink often gives 404 error. When you move site from one server to another or made any change this error comes up. Here i will discuss few methods to solve this issue.

Methods to fix WordPress 404 permalink OpenLiteSpeed:

Method 1 Fix Permissions:

If you are using CyberPanel and you did any change of website after that 404 error come to the site you can fix it by doing few thing.

  1. Fix permissions from the file manager
  2. Restart OLS

Fix Permissions from the file manager:

To fix permission you have to log in to your cyber panel then go to the Websites-> List website select the domain for which you have to fix the issue then press the Manage button present in front of the website.

Manage Website
Manage Website

On the Website Dashboard you can see File Manager press to access the file manager.

File Manager
File Manager

In file manager click Fix Permission button and you can see the success massage in green color.

Fix Permission
Fix Permission

After doing all now its time to restart OLS.

Restart OpenLiteSpeed:

To restart OLS from CyberPanel you have to go on Server Status ->LiteSpeed Status and then you see two-button shutdown and reboot. Press the Reboot button and you can see a success message.

Restart OpenLiteSpeed:
Restart OpenLiteSpeed:

Method 2 htaccess:

An other reason is the missing rules in htaccess for WordPress. To check htaccess rules. Go to the Public_html folder of the website. If you have CyberPanel go to the Website->List Websites then press Manage button.

Then go to the file manager from the Website Dashboard.

File Manager

In file manager open and open .htaccess file and see if there is rules or if the file is empty.

If file is empty add these rule and press save.

# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>

and after doing this restart OLS as mentioned above.

Read more: How to create, delete and manage Child Domains in CyberPanel?

Follow US on Facebook / Twitter Instagram .