There are few reasons for getting forbidden error. The top reasons for getting forbidden error are either permission issue or .htaccess error.
You may get 403 forbidden error due to bad permissions. Directories and folders permission must be set to 755 and files permissions must be set as 644.
It may be caused due to the visitor is trying to look at a hidden file, like the .htaccess file. You cannot look at that file in your browser, or any file name that starts with a dot.
e.g. yourdomain.com.au/.htaccess will always result in a 403 error.
Check in cPanel and make sure you are not blocking your own connecting IP. You can solve this by using below steps:
Go to cpanel check the error log
Then we can fix the permission for files and folders by the command “permfix <domain> <server>”
or whitelist the IP address in the WHM>>cPHulk>>whitelist the IP address.