Not sure how to change DocumentRoot
root@www1:/etc/apache2/sites-available$ vim secure.mydomain.com.conf
Use phpfpm user1 secure.mydomain.com 11003
There is only one line inside the .conf file in the '/etc/apache2/sites-available' folder. The above line in the conf file works fine if I put an index.php file inside the /home/user1/secure.mydomain.com folder.
However, when I change the file to add the DocumentRoot so that it will point to the 'public' folder inside, nothing works:
root@www1:/etc/apache2/sites-available$ vim secure.mydomain.com.conf
Use phpfpm user1 secure.mydomain.com 11003
DocumentRoot /home/user1/secure.mydomain.com/public
I am not sure how to get it pointed to the 'public' folder for this specific virtual host… Any help will be greatly appreciated. Thanks!