How to fix 403 Forbidden Error in Linux Reseller Hosting

Please find the below article which describes the solution for 403 FORBIDDEN ERROR in Linux Reseller Hosting Plan.

a) Any website requires homepage to be named as index.html or index.php in Linux Reseller Hosting Plan in cPanel server. If you have not uploaded index.html or index.php, then it might display the list of files or “403 forbidden error”.
b) If the permission of your public_html folder or the folder where your index.html or index.php is uploaded is changed, then you will face this issue in cPanel server.
c) Sometimes you might receive “403 forbidden error and additionally you receive 404 page not found error”, this means the file that you have upload is having improper permissions or you may have to upload in ASCII mode.

You need to check your file/folder permissions and make sure that the below permissions are given,

1. For folders, it should be 755 or 750
2. For files, it should be 644

Hope the above will be helpful for fixing 403 Forbidden Error.