Server Error 403 Forbidden in DigitalOcean server


I am experiencing a very strange problem with my WordPress site. When I try to update (or preview) my post, I do not “have permission to access /wp-admin/post.php on this server”. If I create a new page, then putting more than 200 words of content on the page (Server Error 403 Forbidden) comes. What could be causing this problem? I am using Digitalocean VPS server.


Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Hello @jeegopal

Can you share more information? How did you install your server and WordPress? Did you follow any tutorial such as How To Install WordPress on Ubuntu 20.04 with a LAMP Stack or How To Install WordPress with LEMP on Ubuntu 18.04?

The 403 error usually indicates that the web server (Apache or Nginx etc.) does not have permission to access the /wp-admin/post.php file.