I have just created a new virtual server and successfully ran the wordpress installer script accepting the default install location (ie mydomain.com/wordpress).
If i enter mydomain.com/wordpress it works,
however, if i type mydomain.com (without also using /wordpress) into a web browser i get the following error
Error 403 Forbidden You dont have permission to access / on this server.
I have gone into file manager and ownership and permissions are as follows;
/home/mydomain/public html (mydomain.com:mydomain.com 750) /home/mydomain/public html/wordpress (mydomain.com:mydomain.com 755)
inside the wordpress directory itself;
ownership is mydomain.com:mydomain.com .
he file permissions as 755 for directories and 644 for htaccess. All other files are 750.
I am a little concerned about the defaults that the virtualmin installer script is using...in the past i have only ever had 2 permissions...755 for directories and 644 for files. Why is virtualmin adding the 750? Is this the problem?
My understanding is that by the public html directory having 750 permissions, the world have zero access to its subfolders? Can someone check the installer script and give me some information on this please?