I set up Virtualmin on my VPS which comes with Apache
server, but whenever I try to visit the hosted website there I get the below error. I am using CentOS 7
on my VPS.
Apparently, many people have bumped into this problem and there are many ideas and probably solutions on StackOverflow but unfortunately, none of them worked for me.
Below are the things I tried.
- Making the
www
folder accesible byapache
system user and not root. Did not work. - Giving the proper permissions as the below image.
- Changing/adding lines of code for the
http.d
file as per this answer. Error message "Forbidden You don't have permission to access / on this server" - Disable SELinux
Any ideas what can be going wrong?