Posts

How to Fix the 403 Forbidden Error in Cyberpanel

 Are you getting the 403 forbidden error? It is one of the most common errors and the solution is very simple.  Let's first know the reason for it. 403 forbidden error means that the server permissions are not allowed to access the page. It is nothing but related to the files and folders permissions. Solution:   You have to change the permissions of your files and folders. Below are the commands to do that. Please open the terminal and go to the root path of your site and hir the below commands. sudo find . -type d -exec chmod 755 {} \; Change all directories permission to 755 sudo find . -type f -exec chmod 644 {} \; Change all files permissions to 644. Your folders/directories permissions should be set to 755 and file permissions should be set to 644. Thank you, Please comment below if you have any questions or you are not able to fix the issue. Simranjit Kaur

How to fix 404 error on Cyberpanel when trying to access the folder link?

Image
 It's one of the common errors with Cyberpanel. If you are trying to access /folder it gives you a 404 not found error because of auto indexing.  Solution: Please follow the below steps:  1. First login to your cyberpanel account. 2. then go to "websites" and then "List websites" 3. Click "Manage", it will open up the page as in below screenshot. 4. Now click on "vHost Conf" and  add the new line “ autoIndex   1” like the below example. index  {   useServer               0   indexFiles              index.php, index.html  autoIndex               1 } All done!!! Now please check in incognito window.  Thank you, Please comment below if you have any questions or you are not able to fix the issue. Simranjit Kaur