This guide will help you
https://www.howtoforge.com/tutorial/install-laravel-on-ubuntu-for-apache/
May Sale! All accounts are 40% off this week.
Hello,
For fun im just trying to deploy my laravel app to a ubuntu that I have running on a VM. I am using Apache.
I followed this guide from start to finish https://help.clouding.io/hc/es/articles/4406607535634-C%C3%B3mo-Desplegar-Laravel-8-con-Apache-y-Let-s-Encrypt-SSL-en-Ubuntu-20-04 And when I try to enter my app I just get the "Index of /" Instead of the actual welcom page.
I tried googling to try other guides or solutions and the steps on every guide now is the same really, so I dont really know what else to do. Im going to leave here my VirtualHost code as you guys will probably ask for it.
<VirtualHost *:80> ServerAdmin [email protected] ServerName laravel.example.com DocumentRoot /var/www/html/ifp-security/public
<Directory /var/www/html/ifp-security>
Options Indexes MultiViews
AllowOverride None
Require all granted
</Directory>
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
(a screenshot https://prnt.sc/gj7yF8zSJPBG just in case its easier to read)
Thanks!
did you run a2ensite so that the conf is symlinked into sites-enabled folder?
Please or to participate in this conversation.