If your account is on Linux server and you see 403 Forbidden page,
then your domain doesn't have appropriate permissions assigned. There
are several possible solutions for this problem:
1) If you have a SSH access, you may see your directory's content. In
the ordinary case, your files have the following look:
-rwxr-xr-x 1 newuser usergroup 140 Jan 28 21:04 index.php
which means that index.php file has 755 permissions set (rwx r-x r-x
in binary system) :
owner group other
rwx r-x r-x
in another words, owner (newuser) has read, write and execute
permissions set for this file; group (usergroup) has read and execute
permissions only, as well as other web users.
Usually PHP scripts need 755 or 644 permissions to be assigned for
their proper work. You may check if your files have all necessary
permissions in your CPanel 's File manager or via SSH . You may change
your file permissions there as well.
Warning! 777 permissions may cause a security hole in your account and
it can be hacked easily in this case. Don't set such permissions for
your files, exept the case when your software needs such permissions
for some selected scripts.
2) Also if your files were modified by another user (by root user for
example) they won't be listed in your File or FTP manager and via SSH
as well. In this case you should contact our support team that they
change your file owner. This operation can be performed from
administrator's side only.
3) Sometimes .htaccess file has some directives included, which don't
allow the content of the website to be browsed. You should remove the
respective strings from it. You may even rename the file itself to
.htaccess_old for example to see if it causes the issue.
Warning! It's not recommended to do any modifications in .htaccess
file, if you are not familiar with the apache directives and you don't
know how to use them properly.