Some time bloggers and website owners may have seen this forbidden error which code number is 403 in their web browsers. Don’t worry while this error is not big enough for headache.
So what cause this error?
There could be several reason for 403 forbidden error. You may have hints or note on the same screen whether it is Chrome, Firefox, Opera or Edge web browser. Read carefully what full error message saying. It could be like,
403 Forbidden You don't have permission to access this server. Additionally a 404 forbidden error was encountered while trying to use an ErrorDocument to handle the request. Apache/2.2.15 (CentOS) Server at www.yourdomain.com Port 80
So what’s now?
This is clearly permission error either for your webhost provider who changed your files permission or you have no files at all in your public_html folder.
If you have no files in public_html folder
First check whether you have any files in public_html folder or not? if not then upload your files or upload only index.html file, now check 403 error should gone.
If you have some files in public_html folder
If you have files in public_html folder check, is there any file name index.php or index.html? If no upload any one, if yes then check your file’s permission, you can do so by using filezilla or any ftp client you may have, you can also check or change permission in cPanel file manager, see below image.
See there are 0755 numbers at right side in the image, check those in your cPanel, if you see any other number than 0755 or 0644 then change those to 0755 by clicking on the numbers.
If everything above ok
If every things are ok as expected and you still getting 403 error then please contact your web hosting provider for additional help.