I followed the virtual hosts tutorial and set up apache for my domain name aditidentalcare.com. The website was loading perfectly but now I am suddenly getting this error.
Forbidden - You don’t have permission to access / on this server.
I don’t understand why!
Here is the aditidentalcare.com.conf
<VirtualHost *:80> ServerAdmin firstname.lastname@example.org ServerName aditidentalcare.com ServerAlias www.aditidentalcare.com DocumentRoot /var/www/html/sites/aditidentalcare.com/public_html ErrorLog /error.log CustomLog /access.log combined </VirtualHost>
The permission for public_html is set to 750 and the owner:group is jogi:www-data
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!
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.