I get 403 forbidden when I access my webiste

Posted November 9, 2017 3.7k views
NginxApachePHP FrameworksUbuntu 16.04

I have successfully installed my Symfony3 project on my droplet with the need packages and extensions, however when I want to access my website (I haven’t bought yet a domaine name so I’m accessing it via the IP address) I get 403 Forbidden error.
This is my website
What am I missing ?

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.

Submit an Answer
1 answer

My guess is that you just need to restart the nginx server using:

service nginx restart

Similar Question

If this doesn’t work, you may need to provide your nginx.conf file, in order for others to debug your problem.