Hi all I folowed this tutorial http://www.howtoforge.com/perfect-server-ubuntu-12.04-lts-nginx-bind-dovecot-ispconfig-3
I can’t access the server by ip (http://107.170.19.201), nor my vhost by domain (crescernavida.com.br - added via ispconfig and as dns http://pastebin.com/6cAhjk5P), both give me 403 Forbiden.
So i checked /etc/nginx/sites-available/ crescernavida.com.br.vhost and i find this:
This is inside /crescernavida.com.br.vhost.err -> http://pastebin.com/XqjCcCc3
yeah, also, now, i’m root@crescernavida instead of root@107.170… , not sure why
ABOUT USERS: (just the important ones, i guess) www-data:x:33:jmsystem jmsystem:x:1000: sshusers:x:5002:web1 ispapps:x:5003:www-data ispconfig:x:5004:www-data client0:x:5005:www-data (i don’t remember creating this group but…)
I’m sorry if I showed you useless reports, or if i miss important one. Please let me know if i can provide any more information to help you understand the problem.
Any help will be much appreciated. btw: i’ve been researching for hover 3 hours now about this specific problem and i just can’t solve it with info i got online… sorry for disturbing you
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.
I have the same problem: when I upload file via scp from another server, files are chown by root. I change chwon -R web1:client1 web and it starts telling me 403 error
I have index.php and it doesn’t work. I also had index.html, same problem
So the answer from kamaln7 cannot be applied.
You’re getting a 403 error because you’re requesting a directory that does not have an index file. <br> <br>(directory index of “/var/www/” is forbidden)
You’re getting a 403 error because you’re requesting a directory without an index file. <br> <br>(directory index of “/var/www/” is forbidden)