Earlier I said in a different post (off subject to this one) that I’m interning at a company.

We’ve been working hard on a sandbox server. We installed WordPress to it from scratch. I created the database, and imported the previous database into it. The user and password both have been created.

Right now, our error is "403 Forbidden: You don't have permission to access / on this server". I can’t access any of the files by typing in the server IP address,though we see and control everything as root via Putty, or manage it through FileZilla. Root is the owner of all WP files/folders.

I found this source: WPBeginner-403-Error-Fix and am currently changing the permissions on the files; the folders are done and the permissions are set to 755. File permissions are being set to 644. Out of all the resources we had referred to, it never mentioned WP requiring specific permissions. I got right onto that today. While this is running, I still get the message after the folder permissions were changed, and as the file permissions are being processed:

You don't have permission to access /wp-admin/login.php on this server.

We also had a bootstrap file located in the same place as the WP installation / contents (this was a test). The bootstrap is very much accessible: the CSS/JS folders with the supporting content can be seen if you type the ipaddress/directory for the bootstrap version… you can see the files and structure. If you type in ipaddress/boot.html, it runs it flawlessly. If we try referring to anything with WP, it does not like it and throws the 403 error.

There is no .htaccess, I read online it would generate via permalinks in the panel. But we can’t even see the panel. It’s currently .htaccessOLD (from when we imported our old WP contents to the dev server, from the production site), so there should be no interference.

We are on a very tight deadline to get this project rolling. None of us has installed WP directly, the guy who did it previously no longer is part of the company, so we are becoming lost in this process. Any help would be greatly appreciated! Thank you! :)

Read more here: WordPress Reinstallation – You don’t have permission to access /sitename/ on this server


Solution:

If you know the solution of this issue, please leave us a reply in Comment section, to update the question.


Wordpress related questions and answers: