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.
Got to the website->list websites then click on Manage button present in front of your domain which have issue.
Scroll down and find file manager click on it and here you will find fix permissions button click that a green pop up appears.
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.
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:
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
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>
After running this run the timedatctl again and verify if time zone updated or not.
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.
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.
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.
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 enterhttps://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 inhttp:// 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:
Select Websites on the left menu
2. Choose the SSL enabled website from the list
3. Select “Rewrite Rules” in the Configuration section
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.
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:
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.
ZeroSSL allow three types of verification:
DNS (CNAME) HTTP
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.
After this you will get a option to download SSL. you can download crteficate.
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.
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.
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.
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
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.
Fix permissions from the file manager
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.
On the Website Dashboard you can see File Manager press to access the file manager.
In file manager click Fix Permission button and you can see the success massage in green color.
After doing all now its time to restart OLS.
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.
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.
In file manager open and open .htaccess file and see if there is rules or if the file is empty.
After installation activate this Wordfence security plugin to configure it.
They guide you through these steps and you can follow these but follow another part of this article in order to understand better.
Setup Firewall in Wordfence:
Wordfence Firewall saves your website from malleolus access of the website. The firewall has general real-time security and secures your website from brute force attacks on your website.
The free version of the Firewall of the workforce does most of the things for you but in the premium version, you will get all the advanced features also.
Premium versions include Real-time IP blocklist, Real-time firewall rules, and malware defense.
The firewall has two-level f protection one is basic and the other one is advanced level protection. The basic level of protection covers the threads and attacks on the website but may miss some plugin and themes attacks. Advanced level covers all these.
On the Dashboard page of your Wordfence plugin, you can see the firewall percentage.
To configure your Wordfence firewall go to Wordfence->Firewall option.
Once you click the Optimize The Wordfence Firewall you will see a notice click Continue and you can see your firewall is successfully installed.
You can also see extended mode is enabled. if you check your firewall performance is also increased.
Scan your site from Wordfence:
You can scan your website using the Wordfence security plugin. To scan your website go to the Wordfence->Scan->Start Scan.
After clicking start scan you can see that your site starts scanning and now wordfence goes into the file of your WordPress site.
Basically, wordfence goes into the files of your websites and scans all the files present on your website directory. Note all changes that happen in that file and write those on your screen.
Wordfence tells you that which issue and changes of files are critical, which are ignorable, which files need to delete and which can be ignored.
The scanning process does not go into just one step it complete in a number of steps.