I tried doing this: https://www.digitalocean.com/community/tutorials/how-to-install-the-apache-web-server-on-centos-7
I got 403 Forbidden - nginx/1.0.15 error when i accessed example.com. I tried adding directory to virtualhost but still got error 403 also changed permissions to 755. Thanks in advance.
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!
Hi @ixtambay,
The error you’ve mentioned is actually related to an Nginx setup rather than an Apache one.
Having said that, can you please post your virtual configuration file of the domain example.com so that I can let you know if there is an actual problem with it.
Additionally, in the said virtual host file, you most probably specified a an Error Log, check the error log to see why the 403 error is being generated.
Regards, KDSys
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.