- I have a second domain on my shared hosting account.
- My laravel project is in the root dir
- The laravel public folder is under public_html. public_html/public
Note: I don't want the public files directly under public_html because I have other files that would be overwritten.
I've already changed these to lines in my index.php file.
require DIR.'/../../MyOtherDomain.com/vendor/autoload.php';
$app = require_once DIR.'/../../MyOtherDomain.com/bootstrap/app.php';
The question is how do i point the laravel project to use the index.php file under public_html/public?
Thanks in advance.