By romuloctba
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
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
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)
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)
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.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.