I'M GETTING A MSG THAT SAYS HTTP ERROR-403 FORBIDDEN ON MY WEBSITES
HOSTING COMPANY, "JUSTHOST" THEY SAID
We am sorry that your website(s) can not be accessed correctly. This is because the public_html directory is missing index page so the domain display a default 404 page on browser. Please check,
1, If the file existed on server.
2, If the url is wrong
3, if there is any typo
For Forbidden error, make sure the permission is set correctly. file - 644 folder - 755 then refer to the link to resolve.
- HTTP Error.
The link reads below...my question is HOW/WHERE DO I GO TO DO ANY OF THIS IN CPANEL???
THANKS!
Check the folders' and files' permissions. Sometimes after uploading files via ftp or upgrading certain scripts the permissions on the files get changed. Linux permissions should generally be set to either 644 or 755 depending on what the script requires. E.G. If a file permissions is 444, 111, etc - the server will not be able to read and execute the script properly.
NOTE: if you cannot seem to change the permissions of a file, check the folder's permissions above it and make sure the permissions are set properly
Check the .htaccess file for probable causes. There are a variety of possible causes for a 403 - Forbidden error that can occur in the .htaccess.
The .htaccess might be blocking all IP addresses except a few. The code for that would look something like the following:
order allow,deny
allow from 173.254.38.123
deny from all
The .htaccess may also be missing a line that says DirectoryIndex. This is particularly less common because the DirectoryIndex line is typically not needed in the .htaccess file.
DirectoryIndex index.html index.cgi index.php
Try touching the .htaccess file.
touch .htaccess
My Business site: WarMarks - Web Development | My Personal Blog: Mohsin Rasool
*****Password: Immersion2017*****
*****Password: Immersion2017*****
*****Password: Immersion2017*****